1. Home
  2. Computing & Technology
  3. Ruby

The Main Loop

By Amanda & Michael Morin, About.com

1 of 5

Game programming is an exciting and rewarding activity. Games are simulations of real or fictional events, the sole aim of which is for the user to have fun. Being simulations, they're excellent programming exercises that allow you to create complex software systems without having any real world task to solve. Games also provide (almost) instant gratification. You can see, interact with, play and share your results. And finally, games appeal to our creative sides, something often lacking in programming tasks.

Before you get started, download the example code to follow along. You can copy and paste from your Web browser, but later articles in this series will contain media files (graphics, sound, etc) that the example programs will need in order to run.

Explore Ruby
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Ruby
  4. Tasks & Scripts
  5. Game Programming
  6. The Main Loop

©2009 About.com, a part of The New York Times Company.

All rights reserved.