Commit Graph

87 Commits

Author SHA1 Message Date
8f1ac6c74f Refactoring of Deposit 2019-10-13 17:01:13 +03:00
45d0042a29 Add restore command 2019-10-13 16:54:33 +03:00
6cf4759e5e Small fixes 2019-10-13 15:38:27 +03:00
51b36019f7 Rewrite mine command 2019-10-13 15:20:02 +03:00
19f6d479f2 Names refactoring 2019-10-13 13:19:43 +03:00
bccff5461d Move point tests 2019-10-13 12:35:54 +03:00
0aaab2e131 Rename file with types 2019-10-13 12:05:00 +03:00
fe7d096891 Move app to separate class 2019-10-13 12:03:33 +03:00
454ecc60f6 Use deposit span in building configuration 2019-10-13 11:43:46 +03:00
a13969ce43 Building name is optional 2019-10-13 09:40:41 +03:00
d3fe2ff23b Add deposit concept 2019-10-12 18:00:53 +03:00
658d3b7288 Everything broken, restore tests 2019-10-12 17:52:39 +03:00
Anton Vakhrushev
dacecf2aa8 Add build command 2019-10-11 18:36:36 +03:00
Anton Vakhrushev
94caa93d7c Refactoring: buildings 2019-10-11 18:02:22 +03:00
Anton Vakhrushev
28c51ba518 Add alias for resource capacity 2019-10-10 17:39:54 +03:00
Anton Vakhrushev
ff266c199a Resource type move in Resources class 2019-10-10 17:35:39 +03:00
Anton Vakhrushev
e6f4e5ee29 Random map generation 2019-10-10 17:01:12 +03:00
Anton Vakhrushev
6fa9a7cf8e Add map generator 2019-10-10 16:38:18 +03:00
Anton Vakhrushev
f03a13ce66 Add block type hints 2019-10-10 16:25:22 +03:00
Anton Vakhrushev
55f9bad188 Use two dimensional array in map 2019-10-10 16:20:20 +03:00
4b61881bfb Fix terraform logic 2019-10-08 22:14:01 +03:00
47d6857dd7 Fix score calculation 2019-10-08 21:11:17 +03:00
Anton Vakhrushev
5f9abcbddf Add score calculation 2019-10-08 17:40:28 +03:00
Anton Vakhrushev
bc57cae1e1 Show time in future 2019-10-08 17:26:55 +03:00
Anton Vakhrushev
60f4c1aad0 Change tile letters 2019-10-08 17:18:04 +03:00
Anton Vakhrushev
b2038dcc69 Add time to task finish 2019-10-08 17:14:19 +03:00
Anton Vakhrushev
acba0b2328 Use constant for clear screen esc code 2019-10-08 17:03:24 +03:00
Anton Vakhrushev
b29c35b91b Configure time zone 2019-10-08 16:57:36 +03:00
Anton Vakhrushev
28b0204fdd Extend map 2019-10-08 16:24:42 +03:00
Anton Vakhrushev
ae3e220dfa Add build place checking 2019-10-08 16:17:24 +03:00
Anton Vakhrushev
f1c36ecc40 Add error handling 2019-10-08 16:09:04 +03:00
821a875380 Expand map 2019-10-06 19:48:02 +03:00
3264ce3ec2 Add queue command descriptions 2019-10-06 19:35:22 +03:00
9dad61f7a2 Add construction site tile 2019-10-06 19:06:19 +03:00
cf2d81cbb1 Replace require paths 2019-10-06 18:48:15 +03:00
21b0f7733b Add list of commands 2019-10-06 18:45:42 +03:00
3669e31c66 Improve command handling 2019-10-06 18:30:36 +03:00
927ca47b04 Show map always 2019-10-06 18:19:38 +03:00
e0b586ea6e Add win condition 2019-10-06 13:58:36 +03:00
d200d59fff Add queue info 2019-10-06 13:25:52 +03:00
f8717dc2bc More informative map 2019-10-06 12:51:47 +03:00
d1e549dacd Add screen clearing 2019-10-06 12:28:02 +03:00
82709bde69 Fix type 2019-10-06 12:03:03 +03:00
Anton Vakhrushev
123a025ce5 Make auto world run 2019-10-04 17:51:41 +03:00
Anton Vakhrushev
de5a36d6d6 Finish moving game components to Game namespace 2019-10-04 16:45:42 +03:00
Anton Vakhrushev
ce9d9afd31 Move part of game code to Game namespace 2019-10-04 16:40:42 +03:00
Anton Vakhrushev
d4b37377b9 Rewrite game with command router 2019-10-04 16:14:18 +03:00
Anton Vakhrushev
1eea71177f Add param handling to command router 2019-10-04 16:07:03 +03:00
Anton Vakhrushev
1f494c5a63 Add naive cli command router 2019-10-03 17:48:59 +03:00
Anton Vakhrushev
e4035008b8 Move core logic files to game 2019-10-03 17:19:44 +03:00