Commit graph

87 commits

Author SHA1 Message Date
Manuel Thalmann 7950572ede
Add a button for resetting the game 2022-12-13 11:08:52 +01:00
Manuel Thalmann ba28926219
Add a method for resetting the game 2022-12-13 11:05:20 +01:00
Manuel Thalmann 63bfb5375e
Create a dedicated draw method 2022-12-13 11:04:17 +01:00
Manuel Thalmann 6faeae8b66
Store the id of the board in the Game class 2022-12-13 11:02:56 +01:00
Manuel Thalmann f542319b43
Move initialization code to Game class 2022-12-13 11:00:26 +01:00
Manuel Thalmann 5b46328d37
Store game state in Game class 2022-12-13 10:51:36 +01:00
Manuel Thalmann 8119440db0
Change indentation to spaces 2022-12-13 10:34:07 +01:00
Manuel Thalmann f3a9568f70 Store the current player in the State
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-11 22:55:03 +01:00
Manuel Thalmann aa1af7a9b8 Remove test components
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-10 00:36:43 +01:00
Manuel Thalmann b0d029e07f Fix style issues 2022-12-10 00:29:14 +01:00
Manuel Thalmann 9c9504363d
Repeatedly update game board
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-08 15:08:02 +01:00
Manuel Thalmann f36b60b2e4
Simplify accessability of player names 2022-12-08 15:07:50 +01:00
Manuel Thalmann 480a77ff86
Move state to a separate file 2022-12-08 14:32:09 +01:00
Manuel Thalmann 8269daa423
Remove test code 2022-12-08 13:31:04 +01:00
Manuel Thalmann 4717a6e4e9
Add code for automatically creating game board
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-07 22:24:48 +01:00
Manuel Thalmann 6e6eceab2b
Use strict equality checks 2022-12-07 22:19:07 +01:00
Manuel Thalmann 1c58ac04a4
Update all dependencies 2022-12-07 22:18:29 +01:00
Manuel Thalmann 427e704a61
Fix eslint configuration 2022-12-07 08:09:14 +01:00
Manuel Thalmann aaac8f1912
Fix design of Connect4 board
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-06 13:52:25 +01:00
Manuel Thalmann 0b5cffb9d9
Move styles to a separate file 2022-12-06 13:20:00 +01:00
Manuel Thalmann 6df728d36e
Fix browser path mapping
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-06 13:17:34 +01:00
Manuel Thalmann 7f61ac8d94
Add link to stylesheet 2022-12-06 13:17:21 +01:00
Manuel Thalmann cda33560ae Remove unnecessary import
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-05 18:48:19 +01:00
Manuel Thalmann e62ecce538 Add debug settings
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-05 18:47:12 +01:00
Manuel Thalmann 60b29d0893 Add template files 2022-12-05 18:47:05 +01:00
Manuel Thalmann 411c8b3741 Add all projects to the tsconfig.json file 2022-12-05 18:46:46 +01:00
Manuel Thalmann 5ae479fee7 Add tasks for building the website 2022-12-05 18:46:34 +01:00
Manuel Thalmann 43b36cb619 Fix format settings for html 2022-12-05 18:46:18 +01:00
Manuel Thalmann 8369fa4949 Fix console output of the Watch task 2022-12-05 18:45:55 +01:00
Manuel Thalmann 4d07cfac76 Add CI settings
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-04 21:51:34 +01:00
Manuel Thalmann cb9de981bb Add scripts for cleaning and rebuilding files 2022-12-04 21:50:50 +01:00
Manuel Thalmann cb8cd5c550 Allow passing arguments to gulp 2022-12-04 21:34:19 +01:00
Manuel Thalmann 003f32b6a4 Add a basic website 2022-12-04 21:33:38 +01:00
Manuel Thalmann 632091a0d8 Add capability of automatically reloading files 2022-12-04 21:26:31 +01:00
Manuel Thalmann 40144c1dd6 Add gulp for handling tasks 2022-12-04 20:47:18 +01:00
Manuel Thalmann 2d56c2e2e4 Initialize a new project 2022-12-04 19:32:52 +01:00
Manuel Thalmann bb1826aab5 Initial commit 2022-11-10 12:39:10 +00:00