small medium large xlarge

Learn Game Programming with Ruby: Bring Your Ideas to Life with Gosu, now in beta

April 15, 2015

Happy Birthday to Leonardo da Vinci, the famed inventor and artist, born on this day in 1452. Feeling inspired now? Time for a little 2D game design in Ruby using Gosu!

Learn Game Programming with Ruby: Bring Your Ideas to Life with Gosu is now in beta at

Come and get it, and create your own masterpiece today.

Learn Game Programming with Ruby: Bring Your Ideas to Life with Gosu

If you have a little experience programming in Ruby or another language, then you're ready to start making your own video games. In this book you'll learn concepts such as animation, keyboard and mouse movement, sounds and music, and physics as you build four exciting games.

Your first game will test your reflexes as you try to click on a ruby that pops in and out of your screen. Learn how to draw images and text, and how to make objects move around the screen. You'll make a space-shooter where you defend your home base from a seemingly endless stream of enemies, as you discover how to use keyboard input, add music and sounds, an opening title screen, and scrolling end-credits. Next up: make a sliding number puzzle game where you'll learn to incorporate more complicated logic and user interaction into your game. Learn all about game physics as you build a game where a bold adventurer must climb out of a pit while dodging bouncing, spinning rocks. Then package up your games as Windows and Mac apps so you can share them with your friends.

When you're done with this book, you'll have improved your programming skills, and you'll have all the tools you need to make your own arcade-style games.

Now available from

Upcoming Author Appearances

  • 2015-04-16 Andrew Hunt, TriAgile Closing Keynote
  • 2015-04-18 Alex Miller, Clojure/West 2015, Portland, OR
  • 2015-04-19 Colin Jones, Clojure/West, Portland, OR
  • 2015-04-21 Seb Rose, ACCU, Bristol
  • 2015-04-21 Jamis Buck, RailsConf, Atlanta, Georgia
  • 2015-04-22 Chris McCord, Kraków, Poland
  • 2015-04-27 Andrew Hunt, Code-a-paloosa Opening Keynote
  • 2015-04-28 Johanna Rothman, Communitech Breakfast Talk: Hiring for Cultural Fit
  • 2015-04-28 Johanna Rothman, Agile/Lean Peer to Peer Group of Kitchener: Using Agile and Lean Instead of Playing Schedule Games
  • 2015-04-29 Johanna Rothman, KWSQA, Waterloo CA
  • 2015-04-29 Seb Rose, CoDeOSL, Oslo
  • 2015-04-30 Johanna Rothman, KWSQA, Waterloo CA
  • 2015-05-08 Johanna Rothman, Testing & Quality Leadership Summit, Orlando, FL
  • 2015-05-14 Seb Rose, SDD, London
  • Did You Know?

    You can synch your ebooks amongst your devices via Dropbox, including updates! Just login to your account on, edit your profile, and connect your dropbox account. See our FAQ for details.

    Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this

    Follow us on Twitter: @pragprog, @pragpub, Andy @PragmaticAndy and Dave @pragdave.

    Coming Soon:

    • Web Development Recipes 2nd Edition, in beta
    • Text Processing with Ruby: Extract Value from the Data That Surrounds You, in beta
    • Pragmatic Scala: Create Expressive, Concise, and Scalable Applications, in beta

    Recently Released:

    Thanks for your continued support,

    Andy & Dave The Pragmatic Programmers

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts