surena_game_rs is a wrapper library for the game API of the surena game engine. With surena_game_rs, you can program board games for surena in safe Rust and do not have to deal with the FFI interface.
- Update the
surena
submodule:$ git submodule update
- Have a look at the surena game API:
game.h
- Examine the example project:
./example
. - Generate the documentation:
$ cargo doc --package surena_game --open
- Create your own game using the example project as a base.
./src
- The source code of the wrapper library../example
- An example game implementation of Nim to show off the wrapper interface../build.rs
- Build script to generate surena game API bindings.
- Rename repository to surena_rs
- Implement engine wrapper
- Implementing missing API wrappers
- Testing
This project uses the following libraries:
- mirabel_sys under the MIT License
See the LICENSE
file.