Skip to content

Commit

Permalink
Add TODO for advanceLine issue - see #160
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-blackman committed Apr 28, 2023
1 parent d682ac3 commit 2cbbec3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/common/model/CAVModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,9 @@ export default class CAVModel implements TModel {
}
}

// TODO: Only advance the line if the CURRENT active player's ball has landed, or the timer after the kick has fired
// TODO: We observed that if Player A's ball is still in flight after Player B kicks, then the landing of Player A's ball will trigger advanceLine for Player B

// When a ball lands, or when the next player is supposed to kick (before the ball lands), move the line forward
private advanceLine(): void {

Expand Down

0 comments on commit 2cbbec3

Please sign in to comment.