Commit Graph

59 Commits

Author SHA1 Message Date
jakzar a696da09de -Added way to clear console -Support different dimmension of grid for console 2024-04-15 11:20:47 +02:00
jakzar 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
jakzar 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
s481825 a8c5b1b434 Merge pull request 'Made BFS1 and BFS3 algorithm in BFS.py file.' (#15) from algorytm_bfs2 into snake_move
Reviewed-on: #15 reviewed by Jakub Zaręba
2024-04-15 09:25:33 +02:00
Mateusz Czajka 63229b2c60 Made BFS1 and BFS3 algorithm in BFS.py file. 2024-04-14 21:39:04 +02:00
s481834 066894d85c Merge pull request 'ruch_traktora_po_bfs' (#14) from ruch_traktora_po_bfs into snake_move
Reviewed-on: #14
2024-04-14 19:50:30 +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
tafit0902 eb5556e514 poprawki 2024-04-13 23:49:04 +02:00
jakzar 9ca821bab8 -fixed a bug where mouse on the console would sometimes cause a crash 2024-04-13 02:09:49 +02:00
jakzar 7ac1093231 -fix in gap between lines -added option to disable console 2024-04-13 01:51:52 +02:00
jakzar 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
jakzar 2dac7c64a9 -minor changes to move action (added do_move_if_valid) 2024-04-13 00:13:51 +02:00
s481825 999f28a405 Merge pull request 'Made BFS algorithm.' (#13) from algorytm_bfs into BFS
Reviewed-on: #13 by Jakub Zaręba
2024-04-13 00:02:29 +02:00
Mateusz Czajka ce698aa14a Made BFS algorithm. 2024-04-12 22:11:30 +02:00
s481834 901c246681 Merge pull request 'ruch_traktor_bfs' (#12) from ruch_traktor_bfs into BFS
Reviewed-on: #12
2024-04-12 20:44:17 +02:00
jakzar 18d2fdbb49 -Fixed direction changes 2024-04-12 09:12:38 +02:00
Paulina Smierzchalska ee2c65730d Zmiana organizacji ruchu traktora na wybieranie kierunku i ruchu w przód, jeszcze bez obrotów przed zmiana slota 2024-04-11 22:25:38 +02:00
s481834 05e028c171 Merge pull request 'ram' (#11) from ram into master
Reviewed-on: #11
2024-03-25 10:01:36 +01:00
jakzar a5691816ac -Merged classes slot and roslina. -Added function to display current status of plant. 2024-03-24 23:30:02 +01:00
Mateusz Czajka 4c9bbed441 Wprowadzono poprawki do klas Roslina, Stan oraz Akcja. 2024-03-24 19:19:49 +01:00
Paulina Smierzchalska be47ed188f dodado akcje do osprzetu i lekkie poprawki w klasie Akcja 2024-03-24 13:10:02 +01:00
tafit0902 17f6f36e77 dodanie klasy srodek oraz akcja 2024-03-24 12:31:56 +01:00
tafit0902 81ebfc91b6 komentarze i wyrzucenie chroby wirusowej 2024-03-24 12:17:44 +01:00
tafit0902 3fb9b77d38 poprawki 2024-03-24 12:01:41 +01:00
S481814 f2539c9fd0 Merge pull request 'traktor_osprzet' (#9) from traktor_osprzet into ram
Reviewed-on: #9
2024-03-24 11:58:35 +01:00
tafit0902 30d81744cf dodanie wiecej srodkow 2024-03-23 23:19:38 +01:00
tafit0902 78eb846720 dodano akcje oraz srodek, przykladowe srodki tworzone w akcjach 2024-03-23 23:17:51 +01:00
S481814 25ce2bb241 usunieto plik niewazny 4 2024-03-23 21:07:56 +01:00
S481814 8c1a8cb882 usunieto plik niewazny 3 2024-03-23 21:07:40 +01:00
S481814 97214964cd usunieto plik nieważny 2024-03-23 21:07:22 +01:00
S481814 8a89bbcf1f usunieto workspace 2024-03-23 21:07:01 +01:00
Paulina Smierzchalska c55f2b88c3 Dodano wpis do .gitignore 2024-03-23 21:04:45 +01:00
Paulina Smierzchalska 968e9641d7 traktor slot i klasa osprzet 2024-03-23 21:00:08 +01:00
s481834 24fe7c40fc Merge pull request 'Utworzono klasy Roslina oraz Stan.' (#8) from roslina&stan into ram
Reviewed-on: #8
2024-03-23 16:37:11 +01:00
Mateusz Czajka fea90a983d Utworzono klasy Roslina oraz Stan. 2024-03-23 16:22:13 +01:00
s481825 47a43c5599 Merge pull request 'cleaning' (#7) from cleaning into ram
Reviewed-on: #7
2024-03-23 14:47:00 +01:00
jakzar e3b8f1c84c Removed unused variable condition from class slot 2024-03-23 14:30:36 +01:00
jakzar 8d1d176d5b Added function to quickly return scaled desired plant image. 2024-03-23 13:59:24 +01:00
jakzar 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
S481814 7a03e2f254 Merge pull request 'mozliwosc maninpulowania wielkoscia kraty' (#6) from elastyczna_krata into master
Reviewed-on: #6
2024-03-19 13:29:09 +01:00
tafit0902 88367b0686 mozliwosc maninpulowania wielkoscia kraty 2024-03-11 21:24:16 +01:00
s481834 4e98ae6e87 Merge pull request 'ruch_traktora' (#5) from ruch_traktora into master
Reviewed-on: #5
2024-03-11 13:33:41 +01:00
jakzar 4eaec14c77 Merge branch 'ruch_traktora' of https://git.wmi.amu.edu.pl/s481825/AI_PROJECT into ruch_traktora 2024-03-11 13:31:13 +01:00
jakzar 5d259b8b06 Dodano klase Traktor i dodano podstawowy, pseudolosowy ruch 2024-03-11 13:29:02 +01:00
jakzar 870bd81627 Dodano klase Traktor i dodano podstawowy, pseudolosowy ruch 2024-03-11 13:24:12 +01:00
s481834 7967449e64 Merge pull request 'Naprawiono blad polegajacy na rysowaniu jednej linijki, drobne usprawnienia komentarzy' (#3) from zarzadzanie_slotami into master
Reviewed-on: #3
2024-03-11 10:24:18 +01:00
jakzar afa48da4a1 Naprawiono blad polegajacy na rysowaniu jednej linijki, drobne usprawnienia komentarzy 2024-03-11 10:18:52 +01:00
s481834 7fe9a458ba Merge pull request 'zarzadzanie_slotami' (#2) from zarzadzanie_slotami into master
Reviewed-on: #2
2024-03-10 18:25:21 +01:00