Once the player enter the game, he/she would see the TitleScreen first. This screen would popup a dialog box asks the player to enter password. Once the right password is entered, the player will be able to start the game. Otherwise, he/she will stay in this screen.
Acceptance criteria:
[x] Add a popup dialog box that take the input from the player
[x] Add a proxy. Compare the input with default password and check whether they are the same. If same, set flag to true otherwise set flag to false.
Once the player enter the game, he/she would see the TitleScreen first. This screen would popup a dialog box asks the player to enter password. Once the right password is entered, the player will be able to start the game. Otherwise, he/she will stay in this screen.
Acceptance criteria:
[x] Add a popup dialog box that take the input from the player
[x] Add a proxy. Compare the input with default password and check whether they are the same. If same, set flag to true otherwise set flag to false.
[x] If the flag is true, start to game.
[x] If the flag is false, stay in the screen.