Commit Graph

19 Commits

Author SHA1 Message Date
7c50b44417 This: -fixed cost sum in A* -added cost of direction change for A*2 -added function to change image of visited tile -added display of total cost 2024-04-28 12:58:58 +02:00
eb17e42686 Merge branch 'losowanie_celu' into astar_temp 2024-04-28 11:21:09 +02:00
af15a10048 Dodanie wypisywanie kosztu do AStar1 i ustawiono staly koszt obrotu 2024-04-27 20:09:12 +02:00
tafit0902
702eff581a cel jest losowany w osobnej funkcji, dodano zdjecie stacji benzynowej jako cel trakotra 2024-04-27 00:59:48 +02:00
03434fdb79 Did heuristic2 and A_star2.
Fixed coordinate bug.
2024-04-26 16:32:50 +02:00
637b7567b4 Pierwsza wersja AStar 2024-04-25 22:56:18 +02:00
ae462e2920 New surfaces were made (mud, dirt, stone).
Renamed from bfs2 to bfs3.
Added koszt to Stan and it's set automatically.
Added some ideas about A*.
2024-04-24 22:16:34 +02:00
a696da09de -Added way to clear console -Support different dimmension of grid for console 2024-04-15 11:20:47 +02:00
e0397b95a7 -Added support to precalculated BFS2 -Added way to set HydrateValue by HydrateIndex -Minor changes in Tractor.py -Added flags to make handling different BFS implements easier 2024-04-15 10:49:25 +02:00
d38c4d9593 -Added garage -Fixed bugs that were causing crashes realted to mouse position out of the window 2024-04-15 10:02:09 +02:00
63229b2c60 Made BFS1 and BFS3 algorithm in BFS.py file. 2024-04-14 21:39:04 +02:00
tafit0902
2c03c4857c poprawki 2024-04-14 00:41:18 +02:00
tafit0902
fbe6a7e386 poprawa obrotu traktora 2024-04-14 00:13:27 +02:00
tafit0902
1578dd28f9 traktor porusza sie po scieszce bfs i nawadnia na sztywno pole 2024-04-13 23:55:58 +02:00
7ac1093231 -fix in gap between lines -added option to disable console 2024-04-13 01:51:52 +02:00
911876e59a -added initial_move to get all slot's hydrate stats by visiting all slots -added way to get hydrate stats for single slot -added console to print things there instead of terminal 2024-04-13 01:39:39 +02:00
a5691816ac -Merged classes slot and roslina. -Added function to display current status of plant. 2024-03-24 23:30:02 +01:00
968e9641d7 traktor slot i klasa osprzet 2024-03-23 21:00:08 +01:00
b345f827b3 Cleaned up main.py (by adding files app,colors,ui), added images for plants, added support for plant image in slot class, changed image loading by scaling it once at the start 2024-03-23 13:46:48 +01:00