Commit Graph

227 Commits

Author SHA1 Message Date
Martin HART
6f34f27eaa pop() shit 2020-10-27 16:09:44 +01:00
Martin HART
ac6df77d8f pileOfShit.pop() 2020-10-27 15:58:19 +01:00
Martin HART
c27c403827 Merge branch 'remove-instruction' into 'master'
Remove instruction

See merge request mhart/DancingDroids!31
2020-10-27 13:35:51 +01:00
Martin HART
667da3ee66 Merge branch 'remove-not-necessary' into 'master'
Remove not necessary

See merge request mhart/DancingDroids!30
2020-10-27 13:35:17 +01:00
EliasCubz
00405e0df5 remove instruction related code 2020-10-27 13:32:00 +01:00
EliasCubz
c1685f7f6e remove move left/right 2020-10-27 13:27:57 +01:00
Martin HART
e8c02e41f7 Merge branch 'place-robot-fix-borrow' into 'master'
add place_robot + tests, changed coordinate calculation, fixed borrowing issues

See merge request mhart/DancingDroids!29
2020-10-26 20:35:40 +01:00
Volodymyr Patuta
f7d86c9991 completed move functions 2020-10-26 20:15:44 +01:00
Volodymyr Patuta
80dfe2d69e add place_robot + tests, changed coordinate calculation, fixed borrowing issues 2020-10-26 20:11:27 +01:00
Martin HART
38a2ea98eb Merge branch 'copyright' into 'master'
Copyright

See merge request mhart/DancingDroids!28
2020-10-26 15:30:14 +01:00
stephane elias benabdeslam
106b19c73b Update main.rs 2020-10-26 15:29:14 +01:00
stephane elias benabdeslam
9bb4366eb5 Update main.rs 2020-10-26 15:25:18 +01:00
Martin HART
190423aacb Merge branch 'master' of https://framagit.org/mhart/DancingDroids into copyright
sync changes
2020-10-26 13:55:11 +01:00
Martin HART
2486cee7e1 Add copyright 2020-10-26 13:55:05 +01:00
Martin HART
b98c1deb6a Merge branch 'position-move' into 'master'
change position x,y type + method is_valid and test for move robot

See merge request mhart/DancingDroids!27
2020-10-26 13:54:17 +01:00
Volodymyr Patuta
9d0dd5e6f7 add tests for is_valid() method 2020-10-26 13:45:04 +01:00
Volodymyr Patuta
62433b0fd2 change position x,y type + method is_valid and test for move robot 2020-10-26 13:32:14 +01:00
Martin HART
9de4c1ff6b Merge branch 'create-robot' into 'master'
Add create() and new() methods to the Robot type

See merge request mhart/DancingDroids!26
2020-10-26 13:15:52 +01:00
Martin HART
771a585446 add test_new_robot() 2020-10-26 13:14:44 +01:00
Martin HART
997b9d8dfb Add create() and new() methods to the Robot type 2020-10-26 13:00:30 +01:00
Martin HART
bfa328c1b4 Merge branch 'master' of https://framagit.org/paris8-rust/DancingDroids
Sync teacher changes
2020-10-26 10:48:21 +01:00
Martin HART
87c7d8b5fc Update Readme.md to README.md 2020-10-26 10:45:41 +01:00
Martin HART
a1234c55ee Add LICENSE GPL v3 2020-10-26 10:44:20 +01:00
Martin HART
81780b79f6 Delete LICENSE-MIT 2020-10-26 10:39:50 +01:00
Martin HART
abd81983d0 Delete LICENSE-APACHE 2020-10-26 10:39:42 +01:00
Viala axel
cd6576bd9c Merge branch 'fix-gitignore' into 'master'
fix .gitignore

See merge request paris8-rust/DancingDroids!13
2020-10-22 15:47:12 +02:00
EliasCubz
d9e1ed1295 fix .gitignore 2020-10-22 11:44:39 +02:00
Martin HART
dad43a7e77 Merge branch 'fix-name' into 'master'
Change .create_map() to .create(), and turn* to set*

See merge request mhart/DancingDroids!25
2020-10-20 21:56:42 +02:00
Martin HART
bb58983b6c Change .create_map() to .create(), and turn* to set* 2020-10-20 21:39:45 +02:00
Viala axel
288a1278b4 Merge branch 'change-date-if-work' into 'master'
A merger si tout le monde a push des choses avant dimanche ;)

See merge request paris8-rust/DancingDroids!7
2020-10-20 20:00:24 +02:00
Martin HART
73674d26de Merge branch 'test-world' into 'master'
test of World methods

See merge request mhart/DancingDroids!24
2020-10-20 17:38:16 +02:00
Volodymyr Patuta
2603fb5751 test of World methods 2020-10-20 17:33:57 +02:00
Martin HART
08557961a1 Merge branch 'queues' into 'master'
Queues

See merge request mhart/DancingDroids!23
2020-10-20 17:01:09 +02:00
Martin HART
67c292b9e2 Add empty_position() 2020-10-20 16:57:51 +02:00
Martin HART
569a6eaf94 Change to_ to turn_ 2020-10-20 16:00:26 +02:00
Martin HART
2dba5a9721 add queues to Robot 2020-10-20 15:38:03 +02:00
Martin HART
7ad8268c9f Add queues to dependencies 2020-10-20 15:15:56 +02:00
Martin HART
419d9ce414 Merge branch 'fix-arrow' into 'master'
fix arrow type

See merge request mhart/DancingDroids!22
2020-10-20 14:12:30 +02:00
Volodymyr Patuta
ea4e5bad6d fix arrow type 2020-10-20 14:10:47 +02:00
Martin HART
0f3ea996b0 Merge branch 'comment' into 'master'
add somme comments

See merge request mhart/DancingDroids!21
2020-10-20 14:07:11 +02:00
Martin HART
f1f052bdde add somme comments 2020-10-20 14:06:10 +02:00
Martin HART
bd9681ad86 Merge branch 'set-robot' into 'master'
set robot on the map

See merge request mhart/DancingDroids!20
2020-10-20 13:59:26 +02:00
Volodymyr Patuta
f639fa3d63 set robot on the map 2020-10-20 13:57:23 +02:00
Martin HART
3d686c7770 Merge branch 'world' into 'master'
Create a new world O_o

See merge request mhart/DancingDroids!19
2020-10-20 13:45:45 +02:00
Martin HART
6c19f303fa Add create_map() 2020-10-20 13:42:32 +02:00
Martin HART
26a25d7e79 Merge branch 'fix-main' into 'master'
unwrap() to unwrap_or()

See merge request mhart/DancingDroids!18
2020-10-20 13:20:05 +02:00
Volodymyr Patuta
7d89451fef we don't want to panic! 2020-10-20 13:17:50 +02:00
Volodymyr Patuta
3045d43cd8 Merge branch 'master' of framagit.org:mhart/DancingDroids into volodymyr-dev 2020-10-20 13:08:29 +02:00
Martin HART
1061282246 Merge branch 'fix-main' into 'master'
open_file takes value of arg

See merge request mhart/DancingDroids!17
2020-10-20 13:08:11 +02:00
Volodymyr Patuta
be2e955f36 open_file takes value of arg 2020-10-20 13:06:08 +02:00