8000 GitHub - tackyunicorn/tic-tac-toe-ruby: A tic-tac-toe game in ruby
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tackyunicorn/tic-tac-toe-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

#️⃣ tic-tac-toe #️⃣

⭐ A tic-tac-toe game in ruby ⭐

Game

Implemented as a class with methods to give players turns and check for a winning configuration.
It looks like this:

<=============PLAYER 1=============>

------------------------------
|  X |   O |   X |   O |   X |
------------------------------
|  O |   X |   O |   X |   O |
------------------------------
|  X |   O |   X |   O |   X |
------------------------------
|  O |   X |   O |   X |   O |
------------------------------
|  1 |   2 |   3 |   4 |   X |
------------------------------

Player 1 wins!

About

A tic-tac-toe game in ruby

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0