Skip to content

A command line tic-tac-toe game in Golang

Notifications You must be signed in to change notification settings

Ased2235/tic-tac-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Go

I'm writing a command line tic-tac-toe game as I try to learn Golang! It seems to work OK as of this writing.

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

Blog Post

Here is a long blog post I wrote about making this little game, first in Golang, then in Rust.

Where I've Been Learning Go From

This great YouTube video as well as "A Tour of Go".

If you have other resources-- especially for those coming from dynamic type languages like Ruby (oh, sweet, sweet Ruby)-- that you think would help me (or others), feel free to file an issue or hit me up on Mastodon!

About

A command line tic-tac-toe game in Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%