Skip to content

simandebvu/tic-tac-toe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TIC TAC TOE GAME

Ruby code for tic-tac-toe Game.

screenshot

Game rules

Tic tac toe game consists in a 3 by 3 board and two players.
Players choose between X and O as their tokens to play.
Players take turns to play their token in a unoccupied cell.
The first player who gets three of their tokens in line wins the game.
If no player gets three tokens in line and the board is full it is a tie.

Live Demo

Try on repl.it

Installation

Open a bash console and type:

Built With

  • RUBY
  • VSCode

Testing

This project contains tests made with RSpec, testing the critical methods for the game lib folder. The tests are contained within the spec folder game_spec.rb. Before running the tests make sure to install RSpec You can run the tests by typing rspec in the terminal, inside the root directory. If you want to see the description of the test just write rspec --format documentation

Authors

👤 Gerónimo Morisot

👤 Shingirayi Mandebvu

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse

📝 License

This project is MIT licensed.

About

Microverse Ruby project about OOP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%