Skip to content

Instantly share code, notes, and snippets.

@Nikola-Andreev
Created December 14, 2017 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nikola-Andreev/4f1de4841c2b006e7a2bcb6dfb8759a3 to your computer and use it in GitHub Desktop.
Save Nikola-Andreev/4f1de4841c2b006e7a2bcb6dfb8759a3 to your computer and use it in GitHub Desktop.
BoatRacingTest04
CreateBoatEngine\Break\7\7\Sterndrive
CreateSailBoat\WindSurf\200\20
CreateRowBoat\Canoe\550\2
CreateYacht\SeaVoyage\1000\Break\250
CreateRowBoat\Sunken2\999\3
OpenRace\10000\0\0\true
SignUpBoat\Sunken2
SignUpBoat\WindSurf
SignUpBoat\SeaVoyage
SignUpBoat\Canoe
StartRace
End
Engine model Break with 7 HP and displacement 7 cm3 created successfully.
Sail boat with model WindSurf registered successfully.
Row boat with model Canoe registered successfully.
Yacht with model SeaVoyage registered successfully.
Row boat with model Sunken2 registered successfully.
A new race with distance 10000 meters, wind speed 0 m/s and ocean current speed 0 m/s has been set.
Boat with model Sunken2 has signed up for the current Race.
Boat with model WindSurf has signed up for the current Race.
Boat with model SeaVoyage has signed up for the current Race.
Boat with model Canoe has signed up for the current Race.
First place: RowBoat Model: Sunken2 Time: Did not finish!
Second place: SailBoat Model: WindSurf Time: Did not finish!
Third place: Yacht Model: SeaVoyage Time: Did not finish!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment