Skip to content

Commit

Permalink
Update index.ts to have a hardcoded player1 win by default for demo
Browse files Browse the repository at this point in the history
Might be able to get hardware and software to have manual physical button scoring, but we'll see.
  • Loading branch information
OfekShaltiel-UTD authored Dec 6, 2024
1 parent bb1df3b commit 1f4a686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/Game_Manager/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let timer: number = 0
const timer_duration: number = parseInt(`${process.env.TIMER_DURATION}`) // this is the initial timer duration, in seconds
let confirmation_timer: number = 0
const confirmation_timer_duration: number = parseInt(`${process.env.CONFIRMATION_TIMER_DURATION}`) // this is the time given to players to confirm, in seconds
let score1: number = 5
let score1: number = 8
let score2: number = 5
enum GAME_STATE { NOT_PLAYING, SEND_CONFIRM, PLAYING, RESETTING }
let game_state: GAME_STATE = GAME_STATE.NOT_PLAYING
Expand Down

0 comments on commit 1f4a686

Please sign in to comment.