A TORCS modification with real-time procedural track generation, a player performance measurement library, and adaptive difficulty track generation.