Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Learning Ruby Curses

Tags:

Does anyone know of any good tutorials for learning Ruby with Curses? I just can't seem to find one and the doc is very vague. I have never used curses before so I really don't know much about it.

like image 437
deuces Avatar asked Aug 20 '09 22:08

deuces


People also ask

What is ruby curses?

Description. A Ruby binding for curses, ncurses, and PDCurses. curses is an extension library for text UI applications. Formerly part of the Ruby standard library, curses was removed and placed in this gem with the release of Ruby 2.1.0. (

What is Ncurses library Linux?

Ncurses is a programming library providing an API, allowing the programmer to write text-based user interfaces, Text User Interface (TUI), in a terminal-independent manner. It also optimizes screen changes, in order to reduce the latency experienced when using remote Unix shell.


2 Answers

You can see the basics in action at the curses tic tac toe

like image 200
grosser Avatar answered Dec 07 '22 23:12

grosser


Here's some suggestions from a previous question: How do I use ncurses in Ruby?

like image 27
Pinochle Avatar answered Dec 07 '22 23:12

Pinochle