Jonathan. Frech’s WebBlog

c’t Racetrack II (#87)

Jonathan Frech,

Since the 30th of November 2015 the contest is over. The code is now visible in my post c’t-Racetrack. In this time I improved my pro­gram and added a semi-working collision de­tec­tion (un­for­tu­nate­ly it does not cover every case), a helper func­tion (will not al­low you to make an in­va­lid move) and an additional view mode (lets you see on­ly the car’s path).

Controls

Source code: ct-racetrack-ii.py