I am creating a simple Blackjack game in Ruby, and I have finished all the game logic stuff (finally!) and currently have it running through the command line. It is all working, so now I need a library or gem that will make the whole graphics side of things easier. Any ideas? Thanks.
Ruby2D and Gosu are both free game development libraries for Ruby! Both are well documented with numerous video tutorials to get your feet wet in game development with Ruby. This means you don't have to start completely from scratch, someone has already built some foundations for you!
Gosu is a 2D game development library for Ruby and C++. It's available for macOS, Windows, Linux, and iOS. Gosu is focused, lightweight and has few dependencies (mostly SDL 2). It provides: a window and a main loop.
The Ruby Standard Library is a series of modules & classes that come with Ruby but are not part of the language itself. These classes offer a variety of utilities like: Base64 encoding. Prime number generation. DNS resolution.
As well as Gosu, mentioned elsewhere, there's Rubygame which also appears to be regularly updated.
No opinion on either, suggested as an alternative for comparison.
UPDATE: New(-ish?) kid on the block: Ray. Fairly graphically-oriented, it would appear.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With