Your browser will no longer run
simulation models on RunTheModel.com

because it lacks support of the Java plug-in required to run Java applets.
Learn more at the official Java website.



Please use one of the following browsers that support Java technology:

Dismiss

Categories

Fun City Driving - Games & Fun

779 runs

Added by Andrei Borshchev

Application area: Games

Simulation method: Agent Based

Fun City Driving

In this fun game (designed primarily for kids who learn the basic programming) the car is driving in a city between the buildings and has to reach the target location marked with a blue circle. You control the car by writing a very simple program: a sequence of commands like LEFT, RIGHT, FORWARD, SPEEDUP and SLOWDOWN. The game ends either when the program ends, or when the car crashes into a building or a border.

A simple interpreter executes commands one by one. Each command execution is followed by a pause, which is minimum 1 second. The program can be at most 30 commands long, but after the last command the interpreter loops back to the first one.

You have unlimited number of attempts with each layout, but when you choose a new layout, the number of buildings increases, so the tasks gets more complicated.

The model was created with AnyLogic - simulation software / Games

Related Models