Skip to content

Game settings, game starts, and game over pages #17

@nadeemkhedr

Description

@nadeemkhedr

Context

We want the game to be functional, start with an empty board and show a game start screen (same as the game end screen but with a different title) that has some pre-defined options, the options for starting a new game are:

  • easy (generate 1 block that has 4-6 words and expires in 20 seconds)
  • medium (generate 1 block that has 4-6 words and expires in 10 seconds)
  • hard (generate 2 blocks that have 4-6 words and each expires in 20 seconds)

to choose any option you just type a shortcut and a countdown from 3 appears then the game starts

Development

  • when the game starts autofocus on the input
  • create a new game reducer has the following
    • gameState (new, gameover, inprogress, aboutToStart)
    • blocks (based on the difficulty the user chooses)
    • timePerBlock( based on the difficulty the user chooses)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions