The soccer package consists of the following files. Put the soccer.tcl
file into the folder or directory from which you will run the program.
You will also need to create a teams folder or directory to
hold the code for the example teams and your own team. The
folder/directory structure should look like this:
tclsoccer/ (main Tcl Soccer folder)
TclSoccerForMac (Copy of wish executable to run Soccer under MacOS)
soccer.tcl (Main soccer game code in Tcl/Tk)
doc/
INTERFACE-FOR-C
INTERFACE-FOR-TCL
RULES
include/
east.h (header file for compiling east team in C)
west.h (header file for compiling east team in C)
tcl.h (header file for compiling tcl-compatible code in C)
tclMac.h (header file for compiling tcl-compatible code in C under MacOS)
interface.c (interface code for linking teams written in C to Tcl Soccer)
lib/
eastwinlink.txt (linking directives to compile east team in CodeWarrior under Windows)
westwinlink.txt (linking directives to compile west team in CodeWarrior under Windows)
Tcl8.0.shlb (Tcl library for linking C code under MacOS)
tcl80vc.lib (Tcl library for linking C code under Windows)
teams/
cexample/
Makefile (for compiling under Unix)
CWProject.mcp (for compiling with CodeWarrior under MacOS or Windows)
main.c
east.so (binary for Linux)
west.so (binary for Linux)
east.shlb (binary for MacOS)
west.shlb (binary for MacOS)
east.dll (binary for Windows)
west.dll (binary for Windows)
crollers/
Makefile (for compiling under Unix)
CWProject.mcp (for compiling with CodeWarrior under MacOS or Windows)
main.c
east.so (binary for Linux)
west.so (binary for Linux)
east.shlb (binary for MacOS)
west.shlb (binary for MacOS)
east.dll (binary for Windows)
west.dll (binary for Windows)
defenders/
main.tcl
example/
main.tcl
rollers/
main.tcl