TicTacToe game- Simple Ruby implementation

github logo ・1 min read

I have made this simple implementation of the tictactoe game. It is a game played by two players where they choose random numbers between 1 to 9. The first player takes X and the second player takes O. The interesting part is that the person who manages to score three times in a row is the winner

twitter logo DISCUSS
Classic DEV Post from May 24

Follow Friday: What DEV member would you recommend following?

Phemia Ampaire profile image
I am a full-stack developer in Ruby and REACT. I am interested in Web development. I also do Python and Java

DEV is visited by over 2 million software developers per month. All are welcome to publish here or simply read great content.

Join for free