Skip to content

socialgorithm/ultimate-ttt-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

[Under development] Ultimate Tic Tac Toe Engine - Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages