Commit Graph

196 Commits

Author SHA1 Message Date
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
Martin HART
6fa55b6924 Need to fix a lot of bugs... 2020-10-30 13:23:17 +01:00
Martin HART
f4a1eac5b7 Convert values of the setup line 2020-10-30 12:08:12 +01:00
Martin HART
5c9aeabd03 parse token setup line 2020-10-30 11:56:24 +01:00
Martin HART
a50ec5d79b change var name 2020-10-29 14:52:43 +01:00
Martin HART
037df42271 correct typo 2020-10-29 14:44:16 +01:00
Martin HART
0dd5080d63 Change err msg 2020-10-29 14:43:38 +01:00
Martin HART
cd0f4a0867 Add shitty parser 2020-10-29 14:34:04 +01:00
Martin HART
d2058ef71d del unused var 2020-10-29 11:55:29 +01:00
Martin HART
790caa111d Merge branch 'check-collision' into 'master'
Check collision

See merge request mhart/DancingDroids!35
2020-10-29 11:51:53 +01:00
EliasCubz
15d8cc473a change of style 2020-10-29 10:52:06 +01:00
EliasCubz
506a71f678 added test of function check collisions 2020-10-29 10:47:49 +01:00
EliasCubz
782fccf31c Added function's description to the doc for check_collisions 2020-10-29 10:32:32 +01:00
EliasCubz
e4b25281f7 function to check collisions at given position 2020-10-29 10:30:11 +01:00
EliasCubz
d35da41c90 test of the function check_map 2020-10-29 10:16:09 +01:00
EliasCubz
2eaf624137 function to check if robot is in the map 2020-10-29 10:05:54 +01:00
EliasCubz
4fc0f07e78 declare prototype func collision and check if robot is in the map 2020-10-29 09:28:13 +01:00
Martin HART
15b68ae764 Merge branch 'parsing-config-file' into 'master'
Parsing config file prototype

See merge request mhart/DancingDroids!32
2020-10-29 09:15:51 +01:00
Martin HART
1fff4677cf Merge branch 'pub-robot' into 'master'
pub-issues

See merge request mhart/DancingDroids!34
2020-10-29 08:37:20 +01:00