Commit Graph

215 Commits

Author SHA1 Message Date
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
f424f66650 Merge branch 'random-world' into 'master'
Random world

See merge request mhart/DancingDroids!48
2020-11-03 17:38:25 +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
Martin HART
dc98eddcf6 Merge branch 'rand-orintation' into 'master'
generate random Orientation enum

See merge request mhart/DancingDroids!47
2020-11-03 14:41:10 +01:00
Volodymyr Patuta
e78f138559 generate random Orientation enum 2020-11-03 14:36:20 +01:00
Martin HART
cb2dd9b93c Merge branch 'master' of https://framagit.org/paris8-rust/DancingDroids
sync changes
2020-11-02 12:37:28 +01:00
Viala axel
fee9885344 Precision plaggiat != remix 2020-11-02 10:30:12 +01:00
Viala axel
763a571f4c Décalage + bout sur la triche. 2020-11-02 10:24:45 +01:00
Viala axel
3ee11dd84c Précision de l'heure de rendu. 2020-11-02 09:26:55 +01:00
Martin HART
4f5fe016be Merge branch 'display' into 'master'
added some prints to correspond to the readme example

See merge request mhart/DancingDroids!46
2020-11-02 08:30:35 +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
Martin HART
9adcfe9ce3 Merge branch 'display-grid' into 'master'
Display grid

See merge request mhart/DancingDroids!45
2020-11-01 16:48:04 +01:00
EliasCubz
8c139e29d2 oops 2020-11-01 16:45:51 +01:00
EliasCubz
6d8d1f47b6 added a Whitespace line 201 2020-11-01 16:40:27 +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
Martin HART
0fdad0c929 Merge branch 'doc' into 'master'
doc to create_hash_map

See merge request mhart/DancingDroids!44
2020-10-31 20:57:15 +01:00
Volodymyr Patuta
22dbb0e1b7 doc to create_hash_map 2020-10-31 20:42:26 +01:00
Martin HART
ca1303a8eb Merge branch 'main-loop' into 'master'
Main loop

See merge request mhart/DancingDroids!43
2020-10-31 20:37:04 +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
Martin HART
8cd7fdee02 Merge branch 'create_hash_map' into 'master'
function to create hash map from Vec<Robot>

See merge request mhart/DancingDroids!42
2020-10-31 18:09:36 +01:00
Volodymyr Patuta
8039d1c21f function to create hash map from Vec<Robot> 2020-10-31 18:05:23 +01:00
Martin HART
d0106b4d08 Merge branch 'fix-collision' into 'master'
unused variable in check_world + HashMap fix

See merge request mhart/DancingDroids!41
2020-10-31 18:00:53 +01:00
Volodymyr Patuta
6cfe921110 unused variable in check_world + HashMap fix 2020-10-31 17:55:47 +01:00
Martin HART
1744899f88 Merge branch 'reverse-vec' into 'master'
reverse the Instructions vector, so he can behave as a queue

See merge request mhart/DancingDroids!40
2020-10-31 17:43:54 +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
c7f0a0a281 Merge branch 'parser2' into 'master'
fix break

See merge request mhart/DancingDroids!38
2020-10-30 16:40:19 +01:00
Martin HART
8518de91cb fix break 2020-10-30 16:38:12 +01:00
Martin HART
a4760690ec Merge branch 'parser2' into 'master'
Add shitty parser

See merge request mhart/DancingDroids!36
2020-10-30 16:37:20 +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
Martin HART
392aaf8fd1 Merge branch 'fix-check-map' into 'master'
fixed check_map()

See merge request mhart/DancingDroids!37
2020-10-30 16:05:35 +01:00
Volodymyr Patuta
f4dde09370 fixed check_map() 2020-10-30 15:59:01 +01:00
Martin HART
5d4d3a29c7 Change string conversion methods 2020-10-30 15:29:52 +01:00
Martin HART
46d4f27e24 Add instruction validator 2020-10-30 15:15:11 +01:00