/tic-tac-toe

Terminal game app based on the classic Tic Tac Toe

Primary LanguageRuby

Tic Tac Toe

Terminal game app based on the classic Tic Tac Toe. You can choose your nickname, play against a friend or watch two computers play.

Dependencies

  • Ruby language installed: https://www.ruby-lang.org/en/downloads/

How to play

  • Clone the repo
gh repo clone felipecrubio/tic-tac-toe
  • Run ruby game.rb
  • Select a game mode
  • Select a difficulty
  • Enjoy!

Game Modes

  • Player vs Computer - the good old classic
  • Player vs Player - challenge your friends for a match
  • Computer vs Computer - sit back and watch the robots duel each other

Difficulty Levels

  • Easy - computer will act randomly
  • Normal - computer will act to prevent you from winning
  • Hard - computer will favor winning moves