Commit Graph

23 Commits

Author SHA1 Message Date
17ae5a83f4 mark debug executables (Windows), add game icon and new build targets 2025-01-28 22:54:41 +01:00
5eb61f5818 fix pawn stacking at home, update&fix isMoveLegal, introduce tryTakingPiece and Doxyfile, shorten timeouts in debug mode. 2025-01-28 21:38:36 +01:00
0f141e1475 take the pawns at home into account when deciding if the user can choose a pawn 2025-01-28 13:37:09 +01:00
3e67b127a0 add an fps limit, implement logic to not take pawns in protected fields 2025-01-28 06:03:04 +01:00
2469c6e504 check return values (movePiece), offload some logic into Player class 2025-01-28 04:48:45 +01:00
c4a74531db minor nitpicks 2025-01-28 04:48:08 +01:00
39cd06e8f3 audio feedback for wrong choice, ask the player repeatedly to pick a valid field
also prepared helper functions for checking if there is a possible move
2025-01-28 00:05:48 +01:00
79d53efea2 actually move pawns, add some helper functions, fix text rendering
first "playable" prototype so far
2025-01-27 22:19:53 +01:00
c378e34e62 new suite of helper functions, draw pawns to the screen (not fully working yet) 2025-01-27 02:57:50 +01:00
c0a4e3bdb2 implement proper dice-rolling mechanic, as seen on Wikipedia 2025-01-26 23:20:13 +01:00
62d87bdc35 slight comment clarity updates 2025-01-26 21:28:58 +01:00
6fda4041ae turned ifs into switches, added win chime 2025-01-26 20:07:05 +01:00
925d566177 offload helper functions to Utils, use Getline (which works everywhere) instead of cin 2025-01-26 19:09:12 +01:00
2d9ee6f956 amend: remove unnecessary includes (bring back <thread>) 2025-01-26 13:11:42 +01:00
de1add8dd0 remove unnecessary includes 2025-01-26 12:58:51 +01:00
74062f164f use non-blocking (multithreaded) cin, update sprites and welcome chime 2025-01-26 02:20:08 +01:00
d3daa584e9 use cin.ignore to avoid leaking input buffer in future calls 2025-01-15 22:18:09 +01:00
d82860f843 remove unused parts of code, use sleep function which updates screen 2025-01-15 03:33:44 +01:00
25377a10d7 game engine implementation, rendering tasks offloaded to Board from Game 2025-01-13 01:17:42 +01:00
7fff0f7f0b game spawns a window with board, basic csv leaderboard and startup tune 2025-01-11 23:02:05 +01:00
01804fd008 created Game class; main.cpp calls the Game class to render the game 2024-12-17 02:41:42 +01:00
6c9fdc5dc7 Add a basic Makefile and new entry to .gitignore 2024-12-08 02:53:01 +01:00
2a6459645c Initial commit, add basic project files and an instruction on how to install SFML. 2024-12-08 02:17:49 +01:00