Sunday, December 13, 2015

RobotSim


This is RobotSim v3.1, a PC game I wrote in C++ as both a fun contest and an easy way for beginners to learn programming. Instead of playing themselves, each competitor writes C++ code to control their robot. The robot code gets limited information about the arena it's in via sensors. The goal of the game is to reach 12 checkpoints (the squares of the same color as the robots that are looking for them). Each time a robot reaches a checkpoint they get a random power-up that can be used to move them faster or slow the competition down. The matches can get a bit long if you are not personally invested in the outcome so I sped things up a bit.

the source code, a demo windows executable and the detailed developers manual can be found in this Google Drive folder.