Commit Graph

37 Commits

Author SHA1 Message Date
dd024fa404 added Game class; code rework in main; adjusted some classes; minor improvments in InputBox 2021-05-21 14:08:45 +02:00
9755ddc96d Dodanie fukncji rozbrajania min w klasie minefield. 2021-05-20 15:01:09 +02:00
7fe9e0958c diversified agents speed on different terrain types; temporarily disabled GameOver screen 2021-05-18 20:37:31 +02:00
9918bf64d8 merged GameOverScreen branch 2021-05-18 19:46:04 +02:00
Tomek Sidoruk
cc7c556d0c
add time mine explosion detection and game over screen 2021-05-16 17:34:05 +02:00
af238a6ed6 added agent movement animations; redefined game loop; added turn counting; adjusted classes; fixed a bug; code refactoring 2021-05-12 14:33:26 +02:00
0fc5cedae6 redesigned in-game gui; added UiComponentsList class; added goal highlighting; fixed some bugs; code refactoring 2021-05-11 20:30:01 +02:00
36258b11d0 Fixed cost and priority calculation 2021-05-09 02:06:13 +02:00
7d16dcc616 Merge branch 'master' into a_star
# Conflicts:
#	main.py
2021-05-09 01:17:09 +02:00
8ffdacd603 coordinated project modules; fully implemented blitting using display_assets.py; updated maps; fixed some bugs 2021-05-07 22:26:58 +02:00
46b6db6c00 made ui components inherit one from the other; added new ui components functionality; improved "menu" 2021-05-07 13:54:42 +02:00
d8f1101bc6 minor changes in main; code refactoring 2021-05-05 13:48:48 +02:00
7f13631996 implemented a_star with simple heuristics 2021-05-05 12:51:41 +02:00
Tomek Sidoruk
0d2955f90a
refacetor 2021-05-04 21:40:18 +02:00
Tomek Sidoruk
7d7281db06
remove unwanted shortingof sllep 2021-05-04 16:46:38 +02:00
Tomek Sidoruk
5773c6e1bb
added prompt to asking user of target coorfinates 2021-05-04 16:43:01 +02:00
s452635
b9128bc7c8 added display_assets, added new tiles (mud, grass and concrete) 2021-05-03 20:03:32 +02:00
s452635
d47e46313c added coords to background 2021-05-02 21:04:41 +02:00
7b87cb71ed merged bfs into master 2021-04-18 18:23:14 +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
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
s452635
a8424a3859 added sapper asset direction, moved blitting sapper to a separate function called from main 2021-04-17 15:29:36 +02:00
3f5d27e414 changed coordinates naming convention to (row, column) 2021-04-11 19:04:06 +02:00
4cf9d57fa0 delete 'mines_models/tests.py' 2021-03-27 13:32:18 +01:00
0d30245e20 added FPS control 2021-03-16 06:41:40 +01:00
s452635
aa4762867b little bit of code clean-up 2021-03-14 19:18:23 +01:00
691fcb1ca9 reformated code to meet PEP 8 standards 2021-03-14 18:27: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
54d9133751 fully implemented random map generation 2021-03-12 21:25:33 +01:00
7a735106bd implemented minefield, tiles and mines 2021-03-12 11:49:19 +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
s452635
3cbca8a3f1 initial project structure, dummy background 2021-03-11 01:20:13 +01:00
c9a3beccb5 initial commit 2021-03-10 14:01:17 +01:00