Commit Graph

115 Commits

Author SHA1 Message Date
a4bc74d5f2 added useful functions to json_generator.py; code refactoring 2021-04-21 20:10:18 +02:00
7b87cb71ed merged bfs into master 2021-04-18 18:23:14 +02:00
01cf653c7d changed error message 2021-04-18 18:09:39 +02:00
03c37d17e8 picked a more aesthetically pleasing map 2021-04-17 23:47:47 +02:00
be43e8aeb8 adjusted JsonGenerator class; added newly generated map; minor code refactoring 2021-04-17 23:22:27 +02:00
b9bda6f883 fixed mine in GOAL bug 2021-04-17 21:33:50 +02:00
28cb1c1343 performance boost by Jakub Radowicz TM 2021-04-17 21:14:57 +02:00
fd6fabfc00 merged new agent, display_assets and bfs 2021-04-17 19:56:34 +02:00
Jakub Danilewicz
1d9e45c631 Movemen has been moved to agent, functions are all there ready to be used. Also new functions in project_constants in Direction Class 2021-04-17 18:03:16 +02:00
1efe763937 Merge remote-tracking branch 'origin/bfs' into bfs 2021-04-17 16:45:50 +02:00
1783e2bb26 enums and goal fixes 2021-04-17 16:45:20 +02:00
s452635
a8424a3859 added sapper asset direction, moved blitting sapper to a separate function called from main 2021-04-17 15:29:36 +02:00
1d9a07a7ce created bfs.py scaffolding 2021-04-14 23:45:34 +02:00
925350569d changed move validation return type to Boolean 2021-04-14 22:41:07 +02:00
s452635
9e429dff9f Merge remote-tracking branch 'origin/master' 2021-04-14 12:01:31 +02:00
s452635
84431ca398 robotic assets 2021-04-14 12:01:20 +02:00
c2a80c56ab minor Minefield changes 2021-04-11 19:29:12 +02:00
edca418fed Merge remote-tracking branch 'origin/master' 2021-04-11 19:04:37 +02:00
3f5d27e414 changed coordinates naming convention to (row, column) 2021-04-11 19:04:06 +02:00
0af9fa4b30 deleted invalid field in STRUCT_MINE_ATTRIBUTE_TYPES from project constants 2021-04-03 23:10:13 +02:00
b08ecef061 fixed bug related to agent's starting position. reworked map generating method 2021-04-03 23:00:46 +02:00
bf5e88a667 Merge branch 'master' of https://git.wmi.amu.edu.pl/s452711/Projekt_Sztuczna_Inteligencja 2021-03-31 22:01:16 +02:00
acb231f049 added JsonGenerator method for setting agent's starting position, also minor code refactoring 2021-03-31 21:56:53 +02:00
502dc62700 Usuń 'resources/minefields/there's_a_file_here_'cause_I_cannot_commit_an_empty_directory' 2021-03-28 19:51:53 +02:00
a90cc61586 added different mine types recognition and creation in Minefield 2021-03-27 21:41:57 +01:00
be3e2ee942 did minor code refactoring 2021-03-27 18:30:46 +01:00
c020d2277a changed JsonGenerator definition to support new mine types 2021-03-27 18:25:26 +01:00
c3a26d02e6 adjusted project constants for new implementation of JsonGenerator class 2021-03-27 18:22:04 +01:00
Jakub Danilewicz
dfdc796639 Merge https://git.wmi.amu.edu.pl/s452711/Projekt_Sztuczna_Inteligencja 2021-03-27 13:34:26 +01:00
4cf9d57fa0 delete 'mines_models/tests.py' 2021-03-27 13:32:18 +01:00
11cd98fbbc delete 'mines_models/tests.py' 2021-03-26 16:36:21 +01:00
1ccb1277fc added turn counter, updated next move validation 2021-03-26 16:29:53 +01:00
37b4107aa4 implemented new mine types and corresponding classes 2021-03-26 15:46:00 +01:00
0d30245e20 added FPS control 2021-03-16 06:41:40 +01:00
44154604fa Merge remote-tracking branch 'origin/master' 2021-03-14 19:22:58 +01:00
s452635
aa4762867b little bit of code clean-up 2021-03-14 19:18:23 +01:00
e8b5ef5135 Merge remote-tracking branch 'origin/master' 2021-03-14 18:32:09 +01:00
4687740f40 reformatted code to meet PEP 8 standards 2021-03-14 18:31:07 +01:00
691fcb1ca9 reformated code to meet PEP 8 standards 2021-03-14 18:27:12 +01:00
a61e1c03b3 Forbade stepping on the mines, deleted event_interpreter.py 2021-03-14 18:25:12 +01:00
Jakub Danilewicz
8d29c7078f Added simple movement with usage of arrow keys. Those functions have been declared in Minefield class (temporarily) 2021-03-14 11:32:44 +01:00
913d58c517 edited some constant values and did some minor code refactoring 2021-03-14 00:59:00 +01:00
54d9133751 fully implemented random map generation 2021-03-12 21:25:33 +01:00
8a14461983 simplified mine and tile classes 2021-03-12 21:24:04 +01:00
f73dd1f68f added first version of json generating class responsible for data serialization, also added some new constants and a new constant type (STRUCT) 2021-03-12 20:48:16 +01:00
7a735106bd implemented minefield, tiles and mines 2021-03-12 11:49:19 +01:00
699174bc6d constants path refactor 2021-03-12 11:45:27 +01:00
bf0760588c minor main and constants refactors 2021-03-12 09:55:59 +01:00
s452635
cb61ee5147 new assets 2021-03-11 18:51:43 +01:00
s452635
0a41eb42ae sample assets 2021-03-11 03:30:38 +01:00