Skip to content
jruokonen edited this page Oct 19, 2012 · 10 revisions

Welcome to the pythai wiki!

Pythai Hall of Fame

Best lap times by AI

  • 11.07s (simulation time)

Best lap times by human

  • 6.2s (simulation time, by Juha)

Best AI codes

  • Points: 134517

if ((thegame.get_score()>1) and (thegame.get_car().speed_kmh()<90)): thegame.get_car().steer_right() elif((thegame.get_track_side()>thegame.get_score())): thegame.get_car().brake() thegame.get_car().accelerate() thegame.get_car().brake() thegame.get_score() thegame.get_score() thegame.get_car().steer_right() thegame.get_car().steer_right() thegame.get_car().accelerate() thegame.get_car().steer_right() thegame.get_car().steer_right() if ((thegame.get_track_side()>thegame.get_score())): thegame.get_car().brake() thegame.get_track_side() thegame.get_track_side() thegame.get_score() if ((thegame.get_score()<thegame.get_score()) or (thegame.get_score()<90) or (thegame.get_car().speed_kmh()==-10)): thegame.get_track_side() thegame.get_car().accelerate() elif((-90==90)): thegame.get_track_side() thegame.get_track_side() thegame.get_car().brake() thegame.get_car().steer_left() thegame.get_car().accelerate() thegame.get_car().brake() thegame.get_car().speed_kmh() thegame.get_car().accelerate() if ((50<thegame.get_score()) or (thegame.get_car().speed_kmh()>thegame.get_score()) or (-10<thegame.get_score())): thegame.get_car().steer_left() thegame.get_score() thegame.get_car().steer_left() thegame.get_score() thegame.get_car().steer_right() thegame.get_score() thegame.get_car().speed_kmh() thegame.get_car().accelerate() thegame.get_track_side() thegame.get_car().steer_left() elif((thegame.get_score()>0)): thegame.get_car().speed_kmh() thegame.get_car().steer_right() thegame.get_car().speed_kmh() thegame.get_car().steer_left() thegame.get_score() thegame.get_car().speed_kmh() thegame.get_car().steer_right() thegame.get_score() thegame.get_car().steer_left() elif((thegame.get_score()>thegame.get_car().speed_kmh())): thegame.get_car().speed_kmh() thegame.get_car().accelerate() thegame.get_car().brake() thegame.get_car().speed_kmh() if ((thegame.get_track_side()==thegame.get_car().speed_kmh()) and (0<thegame.get_track_side())): thegame.get_car().accelerate() thegame.get_track_side() thegame.get_car().brake() if ((thegame.get_score()<-90) or (50>thegame.get_score())): if ((thegame.get_track_side()==-50) or (thegame.get_car().speed_kmh()<thegame.get_car().speed_kmh()) or (-50>50)): thegame.get_car().accelerate() thegame.get_car().brake() thegame.get_car().steer_left() thegame.get_car().speed_kmh() thegame.get_car().accelerate() thegame.get_car().steer_right() thegame.get_score() if ((0==-1) and (-1>thegame.get_score()) or (90<thegame.get_track_side())): thegame.get_track_side() thegame.get_track_side() if ((-50<10) or (thegame.get_car().speed_kmh()==thegame.get_car().speed_kmh()) and (thegame.get_car().speed_kmh()>1)): thegame.get_car().steer_left() thegame.get_car().brake() thegame.get_score() thegame.get_score() elif((-10<10)): thegame.get_track_side() thegame.get_car().steer_left() thegame.get_score()

Clone this wiki locally