Skip to content

Pritz96/tic-tac-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tic-tac-go

tic-tac-go is CLI tic-tac-toe game written in Go

tic-tac-go logo

Usage:

To use run go run tictacgo.go

Player X will be asked to enter a row number for which they type either 0, 1 or 2
Player X will be asked to enter a column number for which they type either 0, 1 or 2
An X is then placed in the (row, column) position of the grid

The same happens for Player O

When a Player gets 3 in a row they will be notified that they have won and the game will end

Grid layout

|-(0,0)-|-(0,1)-|-(0,2)-|
|-(1,0)-|-(1,1)-|-(1,2)-|
|-(2,0)-|-(2,1)-|-(2,2)-|

Releases

No releases published

Packages

No packages published

Languages