Skip to content

toddgardner/halite-swig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

halite-swig

A swig wrapper for Halite core game logic. Can be used simulate board states, generate test boards, and run in process games.

Currently only supports go & py3.

Generating swig

Go

The swig/go integration should auto pull and build the C++ code for you.

If you're making changes and would like to test them out on the go tests:

cd src/halite
go build -v && go test -v && go vet

Py3

Some of the python generated files are checked in:

# build halite.py
swig -v -c++ -python -py3 halite.i 
python3 setup.py build_ext --inplace
# verify halite.py
python3 halite_test.py

About

A swig wrapper for Halite core game logic.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published