A command line tic-tac-toe game in Rust, using Cargo
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.
img
src
.gitignore
Cargo.lock
Cargo.toml
readme.markdown

readme.markdown

Rusty Tac

I'm writing a command line tic-tac-toe game as I try to learn Rust! It seems to work OK as of this writing, but wow, this was hard

Some Notes on My Plan

To check for a winner, I'm using a second array called sums that adds up each of the possible wins in the game of tic-tac-toe. (Fun fact: I used this idea (and drew the sketch below) back in 2013 as part of my admission test to The Flatiron School.)

sums explained

About My Process

Woof, just writing Rust that compiles is hard.

Here is a long blog post I wrote about making this little game

Resources consulted

My IRC chat