Commit Graph

84 Commits

Author SHA1 Message Date
matixezor
9123ccf3f9 fix going offscren with W key, code refactor 2021-04-09 22:32:08 +02:00
matixezor
30b8fc3fae code refactor 2021-04-09 22:31:39 +02:00
227a246968 add impassable terrain 2021-04-09 19:48:59 +02:00
edb56dac1d Change image on rotate 2021-04-09 19:11:33 +02:00
Darek Golomski
1900954708 add agent rotate image 2021-04-09 18:47:12 +02:00
Darek Golomski
3d8ff6222c add comment to agent move 2021-04-09 18:37:42 +02:00
Darek Golomski
fc4895fc4e add agent rotate 2021-04-09 18:31:38 +02:00
0b2b68ca3c changed agent image and merged branches 2021-04-09 18:13:13 +02:00
71b310ad4c changed agent image 2021-04-09 18:08:16 +02:00
51f912f22d added the best name B) 2021-03-30 19:12:14 +02:00
matixezor
631a0d32e5 adjust to changes in env, const and field 2021-03-30 18:50:07 +02:00
matixezor
e84a93580e rename field to tile 2021-03-30 18:49:26 +02:00
matixezor
d6caa9aad9 rename field to tile, add mine attr, adjust factory to new attr 2021-03-30 18:49:11 +02:00
matixezor
cc79adb81a add default val to is_armed 2021-03-30 18:47:02 +02:00
matixezor
bd753f3e06 add inheritance to constructor, add const defuse_method 2021-03-30 18:46:19 +02:00
matixezor
9fd954c79b add Image cls, change IMAGES const to hold Image objects 2021-03-30 18:44:16 +02:00
matixezor
7a39af0081 code refactor 2021-03-30 11:47:30 +02:00
matixezor
85993ddec5 fix moving off screen when using 'wasd' 2021-03-30 11:45:20 +02:00
2513f49fdc add arrow keys operation and mine classes 2021-03-29 18:26:40 +02:00
bdddb68e90 code cleaning 2021-03-27 18:30:45 +01:00
f860b1ce45 created Field class and fieldsFactory 2021-03-27 18:27:45 +01:00
matixezor
f6e452f5e3 code refactor 2021-03-16 23:15:41 +01:00
matixezor
a2394ac54d fix choices range and weights, change defusing condition 2021-03-16 20:52:29 +01:00
matixezor
d664576a22 fix choices range and weights, change defusing the condition 2021-03-16 20:50:53 +01:00
matixezor
62af2ec7f4 rename imgs, add IMAGES_MAPPING 2021-03-16 20:49:12 +01:00
matixezor
309d93ef9f code optimization after piotrek fucked up 2021-03-16 20:22:27 +01:00
matixezor
2775ca1277 add getting dir path from os 2021-03-16 20:15:48 +01:00
df796c0842 added in code new tiles and used random generate_field method 2021-03-16 20:00:10 +01:00
matixezor
d2d4a9bdc3 remove excess attrs from agent, adjust game_ui to this change 2021-03-15 21:10:23 +01:00
matixezor
eba1b5cb41 code refactor 2021-03-15 21:08:05 +01:00
matixezor
e8a6a287a7 change unused variable name to follow convention 2021-03-14 19:34:53 +01:00
matixezor
9ea066a79e add random field generation 2021-03-14 19:32:24 +01:00
matixezor
d7b1899dc4 update gitignore and consts to use path var from config.py 2021-03-11 16:20:40 +01:00
matixezor
9bdafab5a6 initial commit 2021-03-11 15:59:07 +01:00