c4b914ccfd
Added game state to all components, renamed timeout to timeoutMilliseconds, removed score from savegame.
2020-12-21 15:48:20 +01:00
Erik Schilling
76a1dd8774
Move Game config into separate object
...
The 4 constructor arguments already were a bit confusing with two
`number` types, also the game config will likely be the output of the
matrix generator, so it makes sense to have a separate interface for
that anyway.
2020-12-18 13:16:50 +01:00
Erik Schilling
d7bf259964
Do not allow picking cells twice
2020-12-17 15:58:50 +01:00
Erik Schilling
ac42a0c5e8
Run linter as part of Github action
2020-12-16 22:27:09 +01:00
Marvin Blum
5516757ebe
Merge pull request #19 from Ablu/gamestate
...
Implement buffer filling and sequence fulfillment
2020-12-16 22:20:36 +01:00
Erik Schilling
d42dc334db
Added return type to getCell()
2020-12-16 22:16:18 +01:00
Erik Schilling
76fdd5ffe1
Time management
...
The game now fails after a configurable amount of time. Winning pauses
the clock.
2020-12-16 22:16:18 +01:00
Erik Schilling
480daf284e
Allow winning or losing
2020-12-16 22:16:18 +01:00
Erik Schilling
cac159bd89
Implement buffer filling and sequence fulfillment
2020-12-16 20:03:17 +01:00
ed5a9c4a91
Interface parameters lowercase.
2020-12-16 19:39:12 +01:00
5f406a081a
Added function to save and load a save game.
2020-12-16 19:33:31 +01:00
Erik Schilling
a449ab89e0
Started on the game logic
2020-12-16 18:59:53 +01:00