Commit Graph

58 Commits

Author SHA1 Message Date
matixezor
f0359f53c8 add slight delay between moves 2021-04-12 18:53:41 +02:00
matixezor
39d7f0a827 change logging msg 2021-04-12 18:53:25 +02:00
matixezor
90e11febc5 add basic console logging, fix rotating 2021-04-12 18:50:52 +02:00
matixezor
995dd6860e changed bfs to start at top neighbour and proceed against the clock 2021-04-12 18:50:22 +02:00
matixezor
5ac5fd9aea fix queue events 2021-04-12 16:49:43 +02:00
Darek Golomski
6d34b95f8f Refactor: Agent defuse mine under him 2021-04-12 16:21:34 +02:00
Darek Golomski
de75ae3122 Agent defuse mine under him 2021-04-12 16:10:14 +02:00
Darek Golomski
63645f3b24 Repair agent 2021-04-12 16:02:10 +02:00
matixezor
27cf66d35d add actions, directions to node. add mine_count to env 2021-04-12 10:51:33 +02:00
matixezor
a7fb859e32 fix type hint for field 2021-04-10 15:39:46 +02:00
matixezor
cecdc84657 code refactor 2021-04-10 14:13:36 +02:00
matixezor
be6481745a implement successor and bfs 2021-04-10 12:12:06 +02:00
matixezor
a1938e5683 add node class 2021-04-10 12:11:43 +02:00
matixezor
5c5e301d6e add bfs launch on T key pressed 2021-04-10 12:11:14 +02:00
matixezor
ab447f4594 add constants for BFS 2021-04-10 12:10:51 +02:00
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
5f1780bc2f Merge pull request 'Scal SuperSaperTestowy' (#1) from SuperSaperTestowy into master
Reviewed-on: #1
2021-04-09 21:24:02 +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
f5cd0670cc rename imgs 2021-03-30 18:42:55 +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
b8d1370438 Merge remote-tracking branch 'origin/master' 2021-03-16 23:16:11 +01:00
matixezor
f6e452f5e3 code refactor 2021-03-16 23:15:41 +01:00
f0d262bc59 Usuń 'git' 2021-03-16 20:56:00 +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
a6c0a708d6 update readme and gitignore 2021-03-16 20:17:45 +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
348ed31774 Upload tiles with mines 2021-03-16 15:08:46 +01:00
matixezor
d2d4a9bdc3 remove excess attrs from agent, adjust game_ui to this change 2021-03-15 21:10:23 +01:00