My first code in sololearn \m/ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

My first code in sololearn \m/

This is my first game/simulation. I called it 1D Driving Simulator, because i is inspired by a game i played as a kid. You just select a number between 1 and 999 which defines the starting position of the car. The code then drives the car to zero position as fast as possible. Speed at the beginning is zero. Each round the code can change the speed by one, to get nearer to the goal. At the end the car should reach the goal with no speed remaining. https://code.sololearn.com/cn9YzW8AEsH6/?ref=app

27th Feb 2018, 7:54 AM
Rom K
Rom K - avatar
1 Answer
+ 3
Hello! Great Job, good work Congratulations👍👏👋💪👊🙌🎉🎊😊🍾🏆
27th Feb 2018, 8:15 PM
dieserrapha
dieserrapha - avatar