Game Screen & Flow - pielegacy/battleship GitHub Wiki

As the game is opened there is an intro/splash screen with an animation of image of battleship and the title with patriotic music in the background. Instructions are given click to start. As player clicks, they are directed to go to the Main Menu.

Main Menu consists of:

  • New game (Starts new game)
  • Settings (Goes to settings page)
    • There are the following settings on the page: audio sfx (has a volume bar), background audio(has a volume bar), Back(to go back to main menu)
  • How to play (Goes to “How to play” screen)
    • Instruction provided in text, Back (to go back to main menu)
  • High Score scores (shows best three scores), Back(to go back to main menu)
  • Exit(to exit game).

During an ongoing game should the player choose to pause the game, there will be a pause button on the top right corner of the game screen or the player can press Escape key on keyboard. When clicked the pause it shows these following options:

  • Resume(to go back to the game)
  • How to play Instructions provided in text, Back(to go to pause screen)
  • Settings(to go to settings page) :- there are the following settings on the page: audio sfx(has a volume bar), background audio(has a volume bar), Back(to go back to pause screen)
  • Quit(to quit the ongoing game)

When the player completes a game, if the player wins they are provided with a win notification and the score then redirected to the main menu. If the player loses they are given a lost notification and redirected to main menu.

diagram