How to read one non-blocking key press in Ruby
During the development of a simple command line game in Ruby, I wanted to check if the player has pressed a given key in a non-blocking and buffered way. That is: If no key was…
During the development of a simple command line game in Ruby, I wanted to check if the player has pressed a given key in a non-blocking and buffered way. That is: If no key was…
I finally made it! Regarding my previous post about failing to pilot processes on Windows, I searched again and finally found a solution. [EDIT] I have bundled the solution I explain in this article in…
I have always tried to be a polyglot programmer, and also poly-platform one. I have always cherished the idea my softwares could run on any OS. My main development environments for most of my Ruby…