10 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 ac42a0c5e8 Run linter as part of Github action 2020-12-16 22:27:09 +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
Erik Schilling a449ab89e0 Started on the game logic 2020-12-16 18:59:53 +01:00
Erik Schilling 911ccff6fa Github action CI 2020-12-16 17:27:53 +01:00
Erik Schilling 845898b89c Update lock file
All I did was running npm install.
2020-12-16 10:24:18 +01:00