Skip to content

julius-boettger/tictactoe-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

For your command line, written in Rust! Featuring...

  • 🈳 Free choice of player symbols: Not just X and O, pick whatever unicode character you like!
  • 🧠 A variable board size: Usually 3x3, but why not go higher? 4x4? Maybe even 10x10? It's possible!
  • 🎮 More than two players: Enjoy it with your whole family!

This is the first project I did for practice when learning Rust.

Installation

OR

  • Run from source (requires cargo):
git clone https://github.com/julius-boettger/tictactoe-rust
cd tictactoe-rust
cargo run

Configuration

...is only possible when running from source

  • Adjust the size of the tic-tac-toe board with the constant BOARD_SIZE in constants.rs