Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.52 KB

File metadata and controls

31 lines (23 loc) · 1.52 KB

Ultimate TTT: Rust

Ultimate Tick Tack Toe implementation for algorithmic battles & hackathons :)

Travis Coverage Status Crate

This is a Rust implementation of the Ultimate Tic Tac Toe game.

What this package provides is all the required logic for the game, by exposing a simple API.

Getting Started

  1. Download Rust from https://www.rust-lang.org/
  2. Install nodejs from https://nodejs.org/en/

Project Structure

game_engine - This module contains the logic necessary for the ultimate tic-tac-toe to operate smoothly agents - This is where you will code your agent. Take a look at the RandomAgent provided for a good starting point. Once you have created your agent in the agents folder, make sure to switch it over in the main.rs file.

Running Your Agent

  1. First build the project making sure to use release mode:
cargo build --release
  1. Then to connect to the game server run:
npx @socialgorithm/uabc --host "SERVER_NAME" --lobby "LOBY_NAME" --token "TEAM_NAME" -f "target\release\ultimate_ttt.exe"