Project

ttt_web

0.0
No commit activity in last 3 years
No release in over 3 years
Can be run on localhost. Uses my Core gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.14
~> 10.0
~> 3.0

Runtime

~> 0.5.0
 Project Readme

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