An open API service indexing awesome lists of open source software.

https://github.com/imhta/tic-tac-toe-with-testing

cli game with rspec testing
https://github.com/imhta/tic-tac-toe-with-testing

Last synced: 3 months ago
JSON representation

cli game with rspec testing

Awesome Lists containing this project

README

          

# tic tac toe with testing
Ruby CLI implementation of tic tac toe game with testing

>Tic-tac-toe (American English), noughts and crosses (British English), or Xs and Os is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game. [know more](https://en.wikipedia.org/wiki/Tic-tac-toe)

## Installation
#### Requirement
* Ruby 2.5.0+
* Rspec
#### Run
```
bundle install
ruby bin/main.rb
```
#### Test
```
rspec
```

## Live version
Repl.it: [Preview](https://repl.it/@ponmuthuselvam/tic-tac-toe)

## Author
* [@MouhaDiouf](https://github.com/MouhaDiouf)
* [@imhta](https://github.com/imhta)