RubyFlow The Ruby and Rails community linklog

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

https://github.com/janko-m/tic-tac-toe

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in