Xavier Fontanet
|
6e966919d3
|
introduce rover-commands module and update versions
|
2024-06-22 19:03:12 +02:00 |
Xavier Fontanet
|
cae3fa399e
|
move to PositionResolver the concern of the appropiated threshold for each case
|
2024-06-22 18:55:33 +02:00 |
Xavier Fontanet
|
3b8595c630
|
better design and SRP
|
2024-06-22 17:51:01 +02:00 |
Xavier Fontanet
|
f0f3bf31fc
|
adapt UI to new commands design
|
2024-06-22 16:57:27 +02:00 |
Xavier Fontanet
|
535ae91e6c
|
make Rover abstract to commands
|
2024-06-22 15:47:14 +02:00 |
Xavier Fontanet
|
e247e53c64
|
location mistake
|
2024-06-22 15:30:35 +02:00 |
Xavier Fontanet
|
026195c849
|
simplify internal contracts of Map
|
2024-06-22 15:27:06 +02:00 |
Xavier Fontanet
|
ff548d0338
|
Command pattern implemented for all current features
|
2024-06-22 15:11:28 +02:00 |
Xavier Fontanet
|
f80460054d
|
introduced command pattern to ease open-close principle apply
|
2024-06-22 14:31:42 +02:00 |
Xavier Fontanet
|
d5b6775578
|
separate cartography related to a different package
|
2024-06-22 13:05:49 +02:00 |
Xavier Fontanet
|
792caa39a4
|
separate into different modules
|
2024-06-22 12:57:37 +02:00 |
Xavier Fontanet
|
ca8d059292
|
remove some warnings
|
2024-06-21 19:38:13 +02:00 |
Xavier Fontanet
|
ca409a9eee
|
obstacles feature works fine
|
2024-06-21 19:36:57 +02:00 |
Xavier Fontanet
|
afe21ad223
|
first obstacle feature test OK
|
2024-06-21 19:17:39 +02:00 |
Xavier Fontanet
|
88e6db14c0
|
Merge remote-tracking branch 'origin/master'
# Conflicts:
# src/test/java/cat/hack3/codingtests/marsrover/MarsRoverWithObstaclesTest.java
|
2024-06-21 18:48:36 +02:00 |
Xavier Fontanet
|
04d2448863
|
introduce obstacles term
|
2024-06-21 18:46:38 +02:00 |
Xavier Fontanet
|
2c75e7d807
|
Revert "separate UI from business core"
This reverts commit a8e2d506fa .
|
2024-06-21 18:16:43 +02:00 |
Xavier Fontanet
|
a8e2d506fa
|
separate UI from business core
|
2024-06-21 18:13:52 +02:00 |
Xavier Fontanet
|
303d839249
|
split more and leave procedural programming to return to OOP
|
2024-06-21 18:11:08 +02:00 |
Xavier Fontanet
|
44cfcaf3ca
|
split a bit the main class
|
2024-06-21 17:41:09 +02:00 |
Xavier Fontanet
|
43bd81c8e3
|
draft of a full command interface implementation
|
2024-06-21 14:40:29 +02:00 |
Xavier Fontanet
|
530cf22983
|
log also the rotation
|
2024-06-21 13:37:33 +02:00 |
Xavier Fontanet
|
adbca95241
|
some refinements and cleaning code
|
2024-06-21 11:56:48 +02:00 |
Xavier Fontanet
|
607c908e9d
|
reduce boilerplate code using Record
|
2024-06-20 23:38:00 +02:00 |
Xavier Fontanet
|
3a2175a5f6
|
remove redundancy/duplicity
|
2024-06-20 23:28:33 +02:00 |
Xavier Fontanet
|
303b1c6df5
|
final test mix
|
2024-06-20 23:17:50 +02:00 |
Xavier Fontanet
|
ac72870894
|
also in backwards
|
2024-06-20 23:06:19 +02:00 |
Xavier Fontanet
|
20b785ef29
|
loop the world longitudinally succesful
|
2024-06-20 23:04:03 +02:00 |
Xavier Fontanet
|
be56b4478a
|
turn right succesfull
|
2024-06-20 22:32:35 +02:00 |
Xavier Fontanet
|
4bf2c88852
|
clean MArs rover from unneeded field
|
2024-06-20 22:12:04 +02:00 |
Xavier Fontanet
|
911358f2a2
|
another loop on longitude but moving backwards
|
2024-06-20 21:57:29 +02:00 |
Xavier Fontanet
|
c43bcd1aa6
|
refactor
|
2024-06-20 21:57:29 +02:00 |
Xavier Fontanet
|
48b5b55ae0
|
loop the world forward successful
|
2024-06-20 21:57:29 +02:00 |
Xavier Fontanet
|
eac2fb3446
|
move the new coordinate resolution to MarsMap
|
2024-06-20 21:57:29 +02:00 |
Xavier Fontanet
|
9bac80db8e
|
make Coordinates immutable
|
2024-06-20 21:04:31 +02:00 |
Xavier Fontanet
|
b0e6fc197f
|
extract Direction from MarsMap
|
2024-06-20 20:58:54 +02:00 |
Xavier Fontanet
|
b1ecef985b
|
prepare failing test for the planet loop requirement
|
2024-06-20 19:17:15 +02:00 |
Xavier Fontanet
|
72ca8a2629
|
move backward successfully
|
2024-06-20 19:04:18 +02:00 |
Xavier Fontanet
|
6906fec8a1
|
misplaced responsibility fix
|
2024-06-20 18:52:44 +02:00 |
Xavier Fontanet
|
1d15cd7254
|
simplify
|
2024-06-20 18:21:18 +02:00 |
Xavier Fontanet
|
24bc0f8057
|
turn left successfully
|
2024-06-20 18:01:08 +02:00 |
Xavier Fontanet
|
5f44eb39fc
|
rover makes a long ride
|
2024-06-20 17:31:40 +02:00 |
Xavier Fontanet
|
3f4aafd43e
|
firs step forward sucessfully
|
2024-06-20 17:15:45 +02:00 |
Xavier Fontanet
|
f27d458b49
|
Rover moved forward but coordinates doesn't match with the expected
|
2024-06-20 16:45:16 +02:00 |
Xavier Fontanet
|
6afb4b522b
|
Rover is preparing to move forward
|
2024-06-20 16:45:16 +02:00 |
Xavier Fontanet
|
8ff890376b
|
Rover has an starting direction
|
2024-06-20 16:45:16 +02:00 |
Xavier Fontanet
|
d5388d1e3c
|
we have a Mars Rover with the Mars map and an starting point
|
2024-06-20 16:45:16 +02:00 |
Xavier Fontanet
|
a8c70f42b1
|
first requirement: two dimensional map of Mars
|
2024-06-20 16:45:16 +02:00 |
Xavier Fontanet
|
41540dbd53
|
add Maven and first UT class
|
2024-06-20 16:45:16 +02:00 |
Xavier Fontanet
|
491748e5e5
|
is my first TDD, so let's start from scratch
|
2024-06-20 14:30:58 +02:00 |