Commit Graph

137 Commits

Author SHA1 Message Date
EliasCubz ce7f802a8c cargo fmt ftw 2020-11-07 20:45:02 +01:00
EliasCubz 3d16f99347 added test parse_config and corrected my mess 2020-11-07 20:24:43 +01:00
EliasCubz cd775fb0b4 added test parse_config 2020-11-07 20:20:47 +01:00
Volodymyr Patuta 16acb570a6 cremove unused variables 2020-11-07 16:42:19 +01:00
Volodymyr Patuta 6b308fc71e clean up error messages 2020-11-07 16:32:44 +01:00
Volodymyr Patuta b868a7978b Merge branch 'master' into unwrap-lol 2020-11-07 16:28:06 +01:00
Martin HART 3e1853e4af add documentation 2020-11-07 16:24:44 +01:00
Volodymyr Patuta 95851f229b remove trash check and use unwrap that will NEVER EVER panic! 2020-11-07 16:12:01 +01:00
Volodymyr Patuta 9857639b12 limit grid display to (60x45)max 2020-11-07 15:05:47 +01:00
Volodymyr Patuta d68c022cd7 fixed size of displayed grid 2020-11-07 13:40:17 +01:00
Volodymyr Patuta af8671bad0 some cheat animation 2020-11-07 13:38:05 +01:00
Martin HART 2e05fd3ed3 change flags display version 2020-11-06 15:34:45 +01:00
Martin HART 39b1e81e55 No robots was displayed on the grid, it's now fix 2020-11-05 19:58:49 +01:00
Martin HART 83b18ef2b0 add empty line in the license 2020-11-05 16:53:08 +01:00
Volodymyr Patuta 8ace71b345 changed conf.pest path 2020-11-05 16:47:22 +01:00
Volodymyr Patuta 952df50bb7 move conf.pest 2020-11-05 16:45:55 +01:00
Volodymyr Patuta 401ff2cb54 Merge branch 'master' into pest-rand-instr 2020-11-05 16:21:21 +01:00
Volodymyr Patuta 426cd1ecd7 fix display grib > 10 2020-11-05 13:53:02 +01:00
Volodymyr Patuta ebdcbb97b0 Merge branch 'master' into pest-rand-instr 2020-11-05 13:24:05 +01:00
Volodymyr Patuta d4b4a1e1b0 fix to the random-world flag 2020-11-05 00:34:25 +01:00
Volodymyr Patuta 959ca38231 Merge branch 'master' into pest-rand-instr 2020-11-05 00:11:08 +01:00
Volodymyr Patuta 3f9e231ebf new paser + generate random instructions 2020-11-05 00:06:48 +01:00
Martin HART 77d9452433 What the hell ! FUCKING LIB ! 2020-11-04 21:43:02 +01:00
Martin HART 912edc855a Merge branch 'master' of https://framagit.org/mhart/DancingDroids 2020-11-04 18:27:42 +01:00
Martin HART de62d560ce Add flag in order to generate a random world 2020-11-04 18:10:42 +01:00
Martin HART e157a16af3 fix documentation 2020-11-03 15:11:50 +01:00
Martin HART 36eeb21b5c Create a random world :) 2020-11-03 15:11:22 +01:00
Volodymyr Patuta e78f138559 generate random Orientation enum 2020-11-03 14:36:20 +01:00
Volodymyr Patuta 73232d2657 added some prints to correspond to the readme example 2020-11-01 21:19:36 +01:00
Martin HART 3794e3e86a Fix space 2020-11-01 20:24:38 +01:00
Martin HART 36c8be2dd2 Add display separator 2020-11-01 20:23:47 +01:00
EliasCubz 8c139e29d2 oops 2020-11-01 16:45:51 +01:00
EliasCubz e884ff6e9b added doc and minor changes to have a better grid 2020-11-01 16:21:27 +01:00
EliasCubz 7b3bdbfa11 corrected some major minor errors haha 2020-11-01 16:04:33 +01:00
EliasCubz 58a0e5a1a7 added print of orthonormal 2020-11-01 15:55:06 +01:00
EliasCubz c0f0a92a76 declaration of display grid 2020-11-01 15:49:02 +01:00
EliasCubz a1080587d1 add fn display_grid skeleton 2020-10-31 23:10:41 +01:00
Volodymyr Patuta 22dbb0e1b7 doc to create_hash_map 2020-10-31 20:42:26 +01:00
Volodymyr Patuta 60a721742a working main-loop 2020-10-31 20:21:21 +01:00
Martin HART a470e883af fix iteration bug 2020-10-31 19:23:04 +01:00
Martin HART afd8b1dc8b need to fix a nasty bug... 2020-10-31 18:50:29 +01:00
Martin HART 1ced716662 Robot need to piouff some time :) 2020-10-31 18:44:23 +01:00
Volodymyr Patuta 8039d1c21f function to create hash map from Vec<Robot> 2020-10-31 18:05:23 +01:00
Volodymyr Patuta 6cfe921110 unused variable in check_world + HashMap fix 2020-10-31 17:55:47 +01:00
Martin HART f2bfdeb28e reverse the Instructions vector, so he can behave as a queue 2020-10-31 17:40:53 +01:00
Martin HART 8518de91cb fix break 2020-10-30 16:38:12 +01:00
Martin HART bdf91b7777 GnaGnaGna volo want that... 2020-10-30 16:34:25 +01:00
Martin HART 843a26fa90 Remove prinln!() debug test 2020-10-30 16:11:13 +01:00
Martin HART c9241e4c4b Merge branch 'master' of https://framagit.org/mhart/DancingDroids into parser2
Sync
2020-10-30 16:08:23 +01:00
Martin HART 2fe77a0e2d fix typo 2020-10-30 16:06:22 +01:00