In Wood 2 you introduce collisions but not manual steerin.
Ships can block each other, so I have to write some code to prevent this using only MOVE - but it will be useless in future because manual steering will be better.
It is irritating, additional work in phase “write simple code to unlock all rules”.
I think collisions and manual steering should be unlocked together.
After looking at the referee some players have discovered that rhum barrels (with quantity = 30) are dropped when a ship is sunk after collision with a mine.
This event should be added to the rules (unless I missed the place where it is written, I don’t think it is anywhere in the statement)
pb4 spotted this bug, but I’m writing it down here as a memo
int travelTime = 1 + Math.round(ship.bow().distanceTo(ship.target) / 3);
should be int travelTime = 1 + Math.round(ship.bow().distanceTo(ship.target) / 3.0);
If a ship attempts to leave the map to negative side it says: “invalid input. Expected ‘A valid action’ but found ‘MOVE -1 7’”
If it attempts to leave the map to positive side then it just stops like described in rules.
As for me it is some kind of inconsistence. Is this expected?
In this replay, frame 181, two ships run out of rum.
For each ship two barrels of rum are placed. Is it really intended to place two barrels for each ship?
yes, need to correct in “checkCollisions” => when a ship arrive to 0 rhum, he is tested 2 time (in move and rotation) for collision whit mine… with 0 life, he spawn 2 barrels of 30 rhum (before dying because there is no more rhum on it ;p)