Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assignments Brainstorm #3

Open
dearlordylord opened this issue Sep 16, 2022 · 0 comments
Open

Assignments Brainstorm #3

dearlordylord opened this issue Sep 16, 2022 · 0 comments

Comments

@dearlordylord
Copy link
Collaborator

dearlordylord commented Sep 16, 2022

The whole game is saved into db with its history as a string (not optimal from the data structure perspective but veeery convenient for debugging and for tests); this structure also contains a lot of data about the game including:

  • size
  • current player
  • the whole game history
1 0 0 0 2
3 6 0 5 4
7 0 0 0 0
0 0 0 0 0

Assignment H: history

  • implement ctrl+z
  • implement a page with a game history report like you'd do with a chess game [not so detailed though cause we don't save time]
  • improvement: show this history as a list of readonly game fields, scaled down
  • improvement: show this history as one readonly game field, but with a "play/pause/stop" button and a slider, like a player; it'd play the recent game as a "video" [again without consideration of how long a turn took]

Assignment S: split screen

  • implement a game mode when two players play both against own bot
  • it look like a split screen game, where a player A sees their screen at the left, and their screen is "interactable". Player A also sees the screen of player B at the right, as read-only, and gets updates about player B turns
  • Improvement: Player B see their screen at the left too (that'd you see how some Tetris multiplayer games would behave) and Player A's screen read-only at the left side
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant