Commit graph

86 commits

Author SHA1 Message Date
Manuel Thalmann c94dc1cb8f
Refactor the ElementDescriptor type 2022-12-15 10:55:46 +01:00
Manuel Thalmann 5ff474a7ea
Nest render function in separate class
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-15 10:09:22 +01:00
Manuel Thalmann babdc6104e
Rename SJDON to SuiWeb 2022-12-15 10:07:48 +01:00
Manuel Thalmann 6beda8d14f
Render game using SJDON 2022-12-15 10:06:49 +01:00
Manuel Thalmann 7b765db827
Add currentPlayer property to Game class 2022-12-15 10:04:00 +01:00
Manuel Thalmann 8020d30d6b
Add a message if someone wins
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-15 01:16:28 +01:00
Manuel Thalmann 05c935d3fa
Only allow moves if there is no winner 2022-12-15 01:13:49 +01:00
Manuel Thalmann de2884c16d
Add a method for checking whether there is a winner 2022-12-15 01:13:18 +01:00
Manuel Thalmann 9107c557af
Store game in localStorage
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-15 01:02:20 +01:00
Manuel Thalmann e34ae6d1c3
Roll back to single workspace environment 2022-12-15 00:57:54 +01:00
Manuel Thalmann 6df42d2e3f
Remove express server 2022-12-15 00:53:33 +01:00
Manuel Thalmann d87da24d30
Replace template fields in license 2022-12-15 00:49:30 +01:00
Manuel Thalmann c40492c0e3
Fix broken type
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-15 00:43:35 +01:00
Manuel Thalmann 602d8b4d6f
Prevent new game button from reloading page 2022-12-15 00:43:27 +01:00
Manuel Thalmann 399fa7257c
Render game using SJDON 2022-12-15 00:43:15 +01:00
Manuel Thalmann 2aa9bf5b4b
Add function for rendering SJDON 2022-12-15 00:35:54 +01:00
Manuel Thalmann 2d0b47f603
Add a script for checking for a winner
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-14 22:01:08 +01:00
Manuel Thalmann fd172a48ed
Add code for saving and loading game
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-14 20:13:01 +01:00
Manuel Thalmann 63a56e5b11
Add missing response to PUT handler 2022-12-14 20:05:10 +01:00
Manuel Thalmann bc16d9607f
Fix format of GUIDs 2022-12-14 19:56:04 +01:00
Manuel Thalmann 01fea03112
Allow saving and restoring save games 2022-12-14 13:07:04 +01:00
Manuel Thalmann 7a28a7e314
Add express handlers for managing save games
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-14 11:23:04 +01:00
Manuel Thalmann f2a8b1e58e
Allow api access 2022-12-14 11:01:32 +01:00
Manuel Thalmann 07263baf6a
Serve ConnectForce using the server
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-14 10:23:53 +01:00
Manuel Thalmann c35136c6ae
Use the express server in the gulp task 2022-12-14 09:49:56 +01:00
Manuel Thalmann 38fb928ef7
Add ignorefiles 2022-12-14 09:36:51 +01:00
Manuel Thalmann 517b093b20
Hide unnecessary debug settings
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-14 09:30:46 +01:00
Manuel Thalmann 4e93da5488
Add debug config for launching project 2022-12-14 09:29:49 +01:00
Manuel Thalmann 077c2bd38a
Add debug settings for express 2022-12-14 09:28:41 +01:00
Manuel Thalmann 4447d7e15b
Remove unnecessary file 2022-12-14 09:27:57 +01:00
Manuel Thalmann 11436c3e5a
Refactor misleading script 2022-12-14 09:25:40 +01:00
Manuel Thalmann 95af0ea1fb
Enable auto-reload for express server 2022-12-14 09:19:38 +01:00
Manuel Thalmann 6b62422903
Update scripts for the use in workspace 2022-12-14 09:19:24 +01:00
Manuel Thalmann 7e2d7c0234
Add scripts for running the server 2022-12-14 09:07:40 +01:00
Manuel Thalmann ff27aa1cb3
Add an express server 2022-12-14 09:07:20 +01:00
Manuel Thalmann 02938810e0
Enable checking of all js files
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-14 08:25:47 +01:00
Manuel Thalmann fb8d516e96
Add project files for the server 2022-12-14 08:24:32 +01:00
Manuel Thalmann 52552e8fc2
Add ES2022 library by default 2022-12-14 08:20:52 +01:00
Manuel Thalmann 6429f05860
Add a server project
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-14 08:19:28 +01:00
Manuel Thalmann a64f91e7fa
Add workspace settings 2022-12-14 00:46:02 +01:00
Manuel Thalmann ce72afb8ed
Move website to separate subdirectory 2022-12-13 18:21:38 +01:00
Manuel Thalmann d88e3a7ac8
Add margin to board class
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-13 12:55:50 +01:00
Manuel Thalmann f0fb5a11fe
Add a log message 2022-12-13 12:55:39 +01:00
Manuel Thalmann 0794aaf8fb
Nest board in a separate element 2022-12-13 12:54:49 +01:00
Manuel Thalmann fb51f48a02
Add a method for adding chips 2022-12-13 11:28:59 +01:00
Manuel Thalmann 391edbed72
Adjust variable names for better understanding 2022-12-13 11:28:48 +01:00
Manuel Thalmann be4956f360
Allow dynamic creation of game states 2022-12-13 11:20:21 +01:00
Manuel Thalmann 87f078da13
Make board size dynamic 2022-12-13 11:18:23 +01:00
Manuel Thalmann 2cf011ed03
Store the board size as static variables 2022-12-13 11:12:06 +01:00
Manuel Thalmann 7950572ede
Add a button for resetting the game 2022-12-13 11:08:52 +01:00