Skip to content

v0.2-beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@rask004 rask004 released this 29 Jun 05:17
· 10 commits to main since this release

How has a start screen, to select an opponent type.

Opponent can be human or an AI.

AI can make random moves, or always make the most captures.

Resetting the game returns to the Start screen.

Various fixes:

  • draws are now recognised
  • skipping turns when no moves are available
  • game can end upon running out of empty spaces
  • if game ends without a 5-in-row, player with most counters on the board will win
  • bug fixes, placing counters on board edges should work now

minor efficiency improvements

possible bugs:

  • not recognising an end-game, if both players cannot move and empty spaces still remain (currently throws unchecked error)

future work:

  • redux store
  • better AI
  • animated moves / counters