![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | README.html | 2013-03-29 03:15 | 734 | |
![]() | basic-ais.ss | 2013-03-24 02:42 | 2.9K | |
![]() | run.ss | 2013-03-24 01:46 | 124 | |
![]() | tron.ss | 2013-03-24 01:46 | 4.7K | |
This is a simple Tron light cycles implementation for trying out different Tron AI's (artificial intelligence programs), written in Guile Scheme. The file "run.ss" is a executable script; list the AI players you want to run as command line arguments.
See "basic-ais.ss" for examples of AI's. Each registered AI is a function that is given the game start conditions and should return a function that is called for each game iteration. The function returns a symbol: up, down, left, or right, depending on the desired proceeding direction.
For a similar undertaking as language agnostic client-server implementation, see here.