@@ -9,7 +9,7 @@ import { timerMiddleware } from './timer';
9
9
10
10
import Adagrams from 'demo/adagrams' ;
11
11
12
- const GO_STRAIGHT_TO_GAME = false ;
12
+ const GO_STRAIGHT_TO_WIN = false ;
13
13
14
14
const initialState_real = {
15
15
currentScreen : ScreenId . MAIN_MENU ,
@@ -26,9 +26,9 @@ const initialState_real = {
26
26
players : [ ] , // No players known initially.
27
27
} ;
28
28
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 ,
32
32
lastError : "" , // The error set by the last action
33
33
// in-game props
34
34
gameTimer : 5 , // seconds
@@ -40,14 +40,14 @@ const initialState_straighttoGame = {
40
40
desiredPlayers : 4 ,
41
41
roundsPerGame : 2 ,
42
42
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' ] ] }
47
47
] ,
48
48
} ;
49
49
50
- export const initialState = GO_STRAIGHT_TO_GAME ? initialState_straighttoGame : initialState_real ;
50
+ export const initialState = GO_STRAIGHT_TO_WIN ? initialState_straighttoWin : initialState_real ;
51
51
52
52
// TODO: We need a break in between turns!
53
53
// TODO: How could we deal with the first player getting more time to think?
0 commit comments