Commit Graph

72 Commits

Author SHA1 Message Date
f142cac64a Enhance game mechanics to allow extra turns for reaching home positions; fix yellow pawn movement boundary condition 2026-02-01 22:40:10 +05:30
99d24daff2 Enhance pawn movement logic to allow attackers to get another turn when beating opponent pawns; refactor beatPawns method to return count of beaten pawns 2026-01-30 21:44:39 +05:30
f7f8798f43 Update game mechanics and improve pawn movement logic; refactor connection URI and enhance server list handling 2026-01-30 16:23:19 +05:30
ed0b6cf589 Refactor isSafePosition function to remove unused HOME_ENTRY_POSITIONS 2026-01-30 13:21:37 +05:30
7a55f6c376 Refactor code structure for improved readability and maintainability 2026-01-30 03:01:14 +05:30
e9e5eb32ad Update MongoDB connection settings and enhance debugging capabilities 2026-01-28 15:54:33 +05:30
5b02a13cb4 ludo web based game config file changes 2026-01-28 14:02:27 +05:30
Wenszel
766614f5d2 added deploying a docker image to docker hub 2023-12-20 18:21:45 +01:00
Wenszel
e5a69fa4a9 fixed timeout issue
implemented timeoutManager, a more efficient solution for managing timeouts in RAM memory. this resolves the problem of lingering timeouts in the server, providing faster removal of old timeouts and improving overall performance.
2023-12-20 10:31:09 +01:00
Wenszel
9d0fd20446 Merge branch 'feature-cypress' into dev 2023-12-19 11:37:43 +01:00
Wenszel
80caed1498 added handling for end of game 2023-12-19 11:00:20 +01:00
Wenszel
ce9e93d68f added cypress e2e tests 2023-12-19 09:27:47 +01:00
Wenszel
97513eac2d edited readme 2023-12-13 21:25:19 +01:00
Wenszel
a33ebeccdd added tests and css modules to LoginPage components 2023-12-13 16:31:52 +01:00
Wenszel
f87938ae08 refactored frontend 2023-12-08 19:47:10 +01:00
Wenszel
f318afe071 added joining to room 2023-11-28 19:25:55 +01:00
Wenszel
a1b39a3a45 refactored backend 2023-11-26 16:30:33 +01:00
Wenszel
ffaaf0b6f3 added LoginPage 2023-11-23 21:20:44 +01:00
Wenszel
c999bfca39 improved performance when reloading page 2023-11-22 20:44:43 +01:00
Wenszel
fcc6fcde28 added tests 2023-11-22 20:06:02 +01:00
Wenszel
6fef82f36a added animated move timer 2023-11-22 20:02:02 +01:00
Wenszel
d284fc30f1 added room schema tests 2023-11-19 20:32:12 +01:00
Wenszel
b70693afdd added playerHandler tests 2023-11-18 20:49:42 +01:00
Wenszel
e702b912f7 added credentials file 2023-11-12 13:37:43 +01:00
Wenszel
d0b12137b5 added moving pawn when player miss a turn 2023-11-12 13:35:47 +01:00
Wenszel
ae9ebcc246 fixed interval error 2023-11-04 21:11:11 +01:00
Wenszel
70442125b3 added validation for moves 2022-06-10 18:29:09 +02:00
Wenszel
4bd50f4a6f added rollednumber to room values 2022-06-09 13:38:05 +02:00
Wenszel
4e52512c7d added skip timeout 2022-06-08 22:13:18 +02:00
Wenszel
f0d6fa758d fixed promises error 2022-06-08 22:04:18 +02:00
Wenszel
5f1f068440 added displaying dice to all players 2022-06-04 17:15:31 +02:00
Wenszel
bcb3473360 added skipping turn if player cant move 2022-06-03 21:36:33 +02:00
Wiktor Smaga
dbd2a84196
delete routes 2022-06-02 21:59:36 +02:00
Wenszel
57398bd46c added timer 2022-06-01 21:07:40 +02:00
Wenszel
3d79bf66df fixed joining room error 2022-06-01 17:43:46 +02:00
Wenszel
4083b0f5bd edited ready button 2022-05-31 17:44:55 +02:00
Wenszel
4551885c57 removed data fetching interval 2022-05-31 16:22:37 +02:00
Wenszel
7a72626f87 added game handler 2022-05-30 10:59:33 +02:00
Wenszel
5eea80b804 added handler for ready button 2022-05-30 09:52:42 +02:00
Wenszel
159b96a678 added fetching data with socketio 2022-05-30 09:06:59 +02:00
Wenszel
9686276ece added handler for login 2022-05-29 18:17:28 +02:00
Wenszel
ecc319b529 added data sharing between session and socket 2022-05-28 23:03:25 +02:00
Wenszel
f24bbf2daf added socketio connection 2022-05-28 20:09:46 +02:00
Wenszel
068cb70c0c heroku deploy 2021-04-30 16:25:55 +02:00
Wenszel
b56c343d83 moved moving from client to server 2021-04-30 13:27:33 +02:00
Wenszel
c8773ed546 edited css and readme 2021-04-30 12:28:54 +02:00
Wenszel
13ddc71c2b added conditions when pawn can move 2021-04-29 22:17:49 +02:00
Wenszel
063a0790c2 added active pawns flashing 2021-04-29 19:55:39 +02:00
Wenszel
3ec1fad0c8 added moving around map 2021-04-29 19:33:57 +02:00
Wenszel
57358b0105 heroku deploy and added moving pawns 2021-04-29 16:58:22 +02:00