Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tron light cycle game in Clojure.
Clojure
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
engine.clj
gui.clj
light_cycle.clj
win_fns.clj

README.md

A simple Tron light cycle game in Clojure, inspired by the Snake example in Programming Clojure and Google's Tron AI Challenge.

Current gameplay is Free-For-All between 2 humans and 2 bots:

  • Player 1 controls the yellow light cycle using WASD.

  • Player 2 controls the blue light cycle using the arrow keys.

  • Right now, the bots are not very smart. They simply choose a random open adjacent square, with a bias for going straight if possible.

To start the game, run light_cycle.clj:

clj light_cycle.clj
Something went wrong with that request. Please try again.