I made a Tic-tac-toe for the Terminal in Ruby
I recently found about Curses, framework for making Terminal applications, and ruby/curses. I was really interested in how the Terminal works and how can you make a Terminal application (without any framework), which I intend to write a blog post about. Here I wanted to demonstrate how Curses can be used in Ruby.
Now, this isn’t some amateur 3x3 Tic-tac-toe implementation; the size of the board is configurable, as well as number of players (up to 5!) and the goal (how many in the row). It’s main purpose is for playing on production servers ;P
Post a comment