60 Commits

Author SHA1 Message Date
Jan Mrna
c42a6b647e Move pathfinders to dedicated files 2025-09-28 09:39:40 +02:00
Jan Mrna
7eee6a5c54 Implemented GBFS 2025-09-28 08:35:27 +02:00
Jan Mrna
2dd44ab169 Implemented Dijkstra's algorithm 2025-09-27 22:29:33 +02:00
Jan Mrna
5cd3a68e6d BFS 2025-09-27 21:51:59 +02:00
Jan Mrna
86d52edfd7 Set map 2025-09-27 18:45:03 +02:00
Jan Mrna
1b0edb664c Add name to pathfinding classes 2025-09-27 18:36:22 +02:00
Jan Mrna
76f10725ec Add forgotten pathfinder file 2025-09-27 18:23:13 +02:00
Jan Mrna
e6fc4e881c Draw the path 2025-09-27 18:22:53 +02:00
Jan Mrna
ea316ab997 Pathfinder WIP 2025-09-27 17:58:26 +02:00
Jan Mrna
9b08c057e0 New Makefile 2025-09-27 15:09:04 +02:00
Jan Mrna
ec57ce7418 Moved test.cpp 2025-09-27 15:08:21 +02:00
Jan Mrna
c55e76a4ba Move Window implementation to window.cpp 2025-09-27 14:54:04 +02:00
Jan Mrna
1941c4c29a Move UserInput implementation to user_input.cpp 2025-09-27 14:46:13 +02:00
Jan Mrna
e31a45b229 Move tile implementation to tile.cpp 2025-09-27 14:34:52 +02:00
Jan Mrna
33813c135f Move pathfindingdemo implementation to pathfindingdemo.cpp 2025-09-27 14:31:02 +02:00
Jan Mrna
70a9e6a80f Move map implementation to map.cpp 2025-09-27 14:19:16 +02:00
Jan Mrna
4419e9bac9 Move gameloop implementation to gamelopp.cpp 2025-09-27 13:57:15 +02:00
Jan Mrna
82eb2e2539 Move entities implementation to entity.cpp 2025-09-27 13:49:17 +02:00
Jan Mrna
f9b76687b3 Move sprite implementation to sprite.cpp 2025-09-27 13:18:01 +02:00
Jan Mrna
1aebe47acf Split main.cpp to different files 2025-09-27 09:55:32 +02:00
Jan Mrna
bf7c1ab2a7 Added pathfinder src file 2025-09-26 17:50:28 +02:00
Jan Mrna
9913d5b938 Remove unused stuff from 2D game engine (sound) 2025-09-26 17:50:13 +02:00
Jan Mrna
83d18443c3 Add mouse movement and remove unused game engine stuff 2025-09-26 17:24:32 +02:00
Jan Mrna
bdac14c6cb Tile cost affects speed 2025-09-26 15:54:55 +02:00
Jan Mrna
822cca1865 Fixed incorrect comment section 2025-09-22 10:15:02 +02:00
Jan Mrna
adec4d9694 Update README 2025-09-22 10:13:06 +02:00
Jan Mrna
b19a6c5157 Updated README 2025-09-22 10:08:42 +02:00
Jan Mrna
bfb8b28bf1 Updated README 2025-09-22 10:05:23 +02:00
Jan Mrna
0b8ce2813c Updated jupyter notebook 2025-09-22 10:05:17 +02:00
Jan Mrna
a780c833e2 Updated jupyter notebook 2025-09-22 09:29:57 +02:00
Jan Mrna
3091194b2c Add mouse click user action 2025-09-22 07:51:32 +02:00
Jan Mrna
61efa711c9 Draw terrain tiles 2025-09-21 20:35:14 +02:00
Jan Mrna
fdfee95426 Remove unnecessary stuff from the game engine 2025-09-21 17:56:47 +02:00
Jan Mrna
7c848cd09f Removed DFS, because it sucks 2025-09-21 16:34:31 +02:00
Jan Mrna
5f517c6707 Fixed swapped start/stop points 2025-09-21 16:33:29 +02:00
Jan Mrna
2145ac50a0 Update README with TODOs 2025-09-20 17:37:01 +02:00
Jan Mrna
d3cc6e960e Modified makefile 2025-09-20 17:35:49 +02:00
Jan Mrna
84c790ef99 Updated gitignore 2025-09-20 17:35:40 +02:00
Jan Mrna
6c828dfba7 Copy source files from the 2D "game engine" 2025-09-20 17:33:02 +02:00
Jan Mrna
7cd1b06550 Add CreateMaze method for Map 2025-09-20 17:28:20 +02:00
Jan Mrna
8656736ea4 Increase map size, add labels 2025-09-20 17:19:10 +02:00
Jan Mrna
24c6ff2d06 Implemented A* 2025-09-20 16:58:04 +02:00
Jan Mrna
8981857ee7 Implemented GBFS 2025-09-20 16:23:31 +02:00
Jan Mrna
c7ddabd613 Update README with TODOs 2025-09-20 15:46:23 +02:00
Jan Mrna
09b5d5ba75 Implemented Dijkstra's algorithm 2025-09-20 15:42:04 +02:00
Jan Mrna
0cd01ece0c Added early exit to BFS, added Dijkstra class 2025-09-20 14:54:29 +02:00
Jan Mrna
b7ccb7c2cc Fixed (most) mypy warnings 2025-09-20 14:23:27 +02:00
Jan Mrna
ea5f283c32 Implemented BFS 2025-09-20 14:09:43 +02:00
Jan Mrna
05e76fc0a4 Update notebook 2025-09-20 14:09:33 +02:00
Jan Mrna
2932d95c66 Added base class for PathFinder, fixed typing errors 2025-09-20 12:16:42 +02:00