Skip to content

A web Tic Tac Toe game gem. Uses my ttt_core gem.

License

Notifications You must be signed in to change notification settings

pelensky/ttt_web

Repository files navigation

Build Status Coverage Status

Tic Tac Toe Web Interface Gem

This is a web front end Tic Tac Toe game built in Ruby. It will uses my ttt_core gem.

Running instructions

This can be played on Heroku. Alternatively, you can run it locally by following the instructions below.

  1. Install the gem gem install ttt_web
  2. Run the game by running ttt_web
  3. In a browser of your choice, navigate to localhost:4567

The Rules

The rules of tic-tac-toe are as follows:

  • There are two players in the game (X and O)
  • Players take turns until the game is over
  • A player can claim a field if it is not already taken
  • A turn ends when a player claims a field
  • A player wins if they claim all the fields in a row, column or diagonal
  • A game is over if a player wins
  • A game is over when all fields are taken

About

A web Tic Tac Toe game gem. Uses my ttt_core gem.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published