Skip to content

glazari/tic-tac-toe-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tic-tac-toe

This is just a project to learn a bit of rust

Running

To play the game run

cargo run

you'll see

   |   |
___|___|___
   |   |
___|___|___
   |   |
   |   |

Player's X turn:

Put in the coordinates of your move. Eg: 1 1 Then player O will be prompted for they're move.

   |   |
___|___|___
   | X |
___|___|___
   |   |
   |   |

Player's O turn:

Todo

  • Diagnal wins
  • Draw

Aspirational Todo

  • NxN board
  • GUI interface

About

A small project to learn a bit of rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages