Fuzzy Racer (2009)

Linux, C, TORCS

Fuzzy logic racing bot.

An AI racing robot written by me and my friend Miłosz Kosobucki as final assignment for Fuzzy Set Theory course at Faculty of Mathematics and Computer Science, Adam Mickiewicz University in Poznań, Poland.

It uses The Open Racing Car Simulator API to integrate into the game. The AI itself makes have use of a fuzzy logic controller to calculate acceleration, steering and gear shifting behavior in respect to current track geometry, all in real-time. No opponent avoidance code is present at the moment but the robot performs reasonably well on various tracks alone.