@@ -9,7 +9,7 @@ import { timerMiddleware } from './timer';
99
1010import Adagrams from 'demo/adagrams' ;
1111
12- const GO_STRAIGHT_TO_GAME = false ;
12+ const GO_STRAIGHT_TO_WIN = false ;
1313
1414const initialState_real = {
1515 currentScreen : ScreenId . MAIN_MENU ,
@@ -26,9 +26,9 @@ const initialState_real = {
2626 players : [ ] , // No players known initially.
2727} ;
2828
29- // For debugging, this goes straight to the game screen:
30- const initialState_straighttoGame = {
31- currentScreen : ScreenId . GAME ,
29+ // For debugging, this goes straight to the win screen:
30+ const initialState_straighttoWin = {
31+ currentScreen : ScreenId . WIN ,
3232 lastError : "" , // The error set by the last action
3333 // in-game props
3434 gameTimer : 5 , // seconds
@@ -40,14 +40,14 @@ const initialState_straighttoGame = {
4040 desiredPlayers : 4 ,
4141 roundsPerGame : 2 ,
4242 players : [
43- { name : 'First Player ' , words : [ [ ] ] } ,
44- { name : 'Second Player ' , words : [ [ ] ] } ,
45- { name : 'Third Player ' , words : [ [ ] ] } ,
46- { name : 'Fourth Player ' , words : [ [ ] ] }
43+ { name : 'Max ' , words : [ [ 'HELL' , 'LOW' ] , [ 'WORLD' ] ] } ,
44+ { name : 'Min Soo Jung ' , words : [ [ ] , [ 'OLE' ] ] } ,
45+ { name : 'Alexandria ' , words : [ [ 'HELLO' ] , [ 'DROLE' , 'ROLE' ] ] } ,
46+ { name : 'Jacqueline ' , words : [ [ 'DROOL' ] , [ 'ROWL' ] ] }
4747 ] ,
4848} ;
4949
50- export const initialState = GO_STRAIGHT_TO_GAME ? initialState_straighttoGame : initialState_real ;
50+ export const initialState = GO_STRAIGHT_TO_WIN ? initialState_straighttoWin : initialState_real ;
5151
5252// TODO: We need a break in between turns!
5353// TODO: How could we deal with the first player getting more time to think?
0 commit comments