Commit Graph

6 Commits

Author SHA1 Message Date
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
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
Erik Schilling
a449ab89e0 Started on the game logic 2020-12-16 18:59:53 +01:00