Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status

Tic-Tac-Toe

A classic game implemented in Ruby.

Getting started

git clone https://github.com/mickaelpham/tic-tac-toe
cd tic-tac-toe
bundle install
bundle exec rake play

Features

  • Display board, prompt for player names
  • Board checks for victory or tie conditions
  • Main game loop
  • Handle exception (input check)
  • Prompt for another game with the same players
  • Colorize player tokens in a different color
  • Thorough test coverage (100%)

Tests

# run the linters and specs
bundle exec rake
# open the code coverage report
open coverage/index.html

Screenshots

Player prompt

screen-01

During the game

screen-02

screen-03

Victory screen

screen-04

Tie screen

screen-05

About

Another classic childhood game

Resources

Releases

No releases published

Packages

No packages published

Languages