halite3bdk

Crates.iohalite3bdk
lib.rshalite3bdk
version0.1.0
sourcesrc
created_at2020-09-01 11:36:59.036461
updated_at2020-09-01 11:36:59.036461
descriptionBot Development Kit for Halite III
homepagehttps://github.com/stjepangolemac/halite3bdk
repositoryhttps://github.com/stjepangolemac/halite3bdk
max_upload_size
id283379
size42,008
Stjepan Golemac (stjepangolemac)

documentation

README

halite3bdk

A Rust Bot Development Kit for Halite III.

Features

  • stdin / stdout communication
  • file logger
  • very simple to use

Usage

A minimal example:

use halite3bdk::game::Game;

fn main() {
    let mut game = Game::init("bot1");

    loop {
        game.next_turn();

        // your logic goes here

        game.end_turn();
    }
}

For more complex behaviors check out the examples/ dir.

Commit count: 3

cargo fmt