Commit graph

25 commits

Author SHA1 Message Date
da371fdca2 Change states using SuiWeb 2022-12-15 22:42:57 +01:00
c15f5f57f9 Allow null to be loaded 2022-12-15 22:17:32 +01:00
608ec9c72a Fix broken component descriptor 2022-12-15 22:14:47 +01:00
aeeff83e01
Allow moves to be undone 2022-12-15 18:16:08 +01:00
e6cea57d65
Store state as an object 2022-12-15 11:51:59 +01:00
5ff474a7ea
Nest render function in separate class 2022-12-15 10:09:22 +01:00
babdc6104e
Rename SJDON to SuiWeb 2022-12-15 10:07:48 +01:00
6beda8d14f
Render game using SJDON 2022-12-15 10:06:49 +01:00
7b765db827
Add currentPlayer property to Game class 2022-12-15 10:04:00 +01:00
8020d30d6b
Add a message if someone wins 2022-12-15 01:16:28 +01:00
05c935d3fa
Only allow moves if there is no winner 2022-12-15 01:13:49 +01:00
de2884c16d
Add a method for checking whether there is a winner 2022-12-15 01:13:18 +01:00
e34ae6d1c3
Roll back to single workspace environment 2022-12-15 00:57:54 +01:00
ce72afb8ed
Move website to separate subdirectory 2022-12-13 18:21:38 +01:00
f0fb5a11fe
Add a log message 2022-12-13 12:55:39 +01:00
0794aaf8fb
Nest board in a separate element 2022-12-13 12:54:49 +01:00
fb51f48a02
Add a method for adding chips 2022-12-13 11:28:59 +01:00
391edbed72
Adjust variable names for better understanding 2022-12-13 11:28:48 +01:00
be4956f360
Allow dynamic creation of game states 2022-12-13 11:20:21 +01:00
2cf011ed03
Store the board size as static variables 2022-12-13 11:12:06 +01:00
ba28926219
Add a method for resetting the game 2022-12-13 11:05:20 +01:00
63bfb5375e
Create a dedicated draw method 2022-12-13 11:04:17 +01:00
6faeae8b66
Store the id of the board in the Game class 2022-12-13 11:02:56 +01:00
f542319b43
Move initialization code to Game class 2022-12-13 11:00:26 +01:00
5b46328d37
Store game state in Game class 2022-12-13 10:51:36 +01:00