Project

ttt_cli

0.0
No commit activity in last 3 years
No release in over 3 years
Playable on a 3x3 or 4x4 board. Uses my ttt_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 Command Line Interface Gem

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

Running instructions

  1. Install the gem gem install ttt_cli
  2. Run the game by running ttt_cli

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