Trunk Scripting  From Tronwiki (Difference between revisions)
Jump to: navigation, search (Setting up a server) Line 232: Line
232:    static int num_teams()    static int num_teams()   
static Team team(int i)    static Team team(int i)  
declare_winner(string message)    int rounds_played()      //!<
number of rounds played (updated right after spawning, so it
includes the current round)    set_locked(bool locked)      //!<
sets the lock status (whether invitations are required)
Revision as of 09:15, 12 August 2010      The armagetronad-ct
branch comes from an attempt to build armagetronad trunk with
scripting enabled. As I faced issues compiling or running it
with ruby, and the underlying wrapper, swig, support most of the
common scripting language, I started this branch to add an
abstraction layer, and eventually, introduce other scripting
language support.  At this time, we were switching our script
from php to python, and I was unable to compile with ruby, so
I've give Python a try ...  Armagetronad-ct