Rust language package for CodeWars - Russian AI Cup 2017
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
Cargo.toml
LICENSE
README.md
appveyor.yml
compile-rust.bat
compile-rust.sh

README.md

CodeWars-rust-cgdk

Build Status Build status

Rust language package for CodeWars - Russian AI Cup 2017

Build

For linux, windows and macos:

cargo build

or for linux and macos:

./compile-rust.sh

or for windows:

compile-rust.bat

Usage

Write your own strategy in src/my_strategy.rs.

To import modules into my_strategy.rs use path attribute:

#[path = "some_module.rs"]
mod some_module;

pub struct MyStrategy {}

Run binary with exactly 3 arguments (host, port, token) or without arguments to use defaults:

./MyStrategy 127.0.0.1 31001 0000000000000000
./MyStrategy