O'Reilly logo

C# Game Programming: For Serious Game Creation by Daniel Schuller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Game Structure

Now that the basics of the rendering are working, it’s time to revisit game architecture. Even small games (Pong, for example) usually require a large amount of code. Pong is a pretty simple game; the player moves a paddle left or right and attempts to hit a ball past an opponent’s paddle. It was one of the first popular computer games released in 1987 so there have been numerous reimplementations since then. SourceForge (www.sourceforge.net) is a website that hosts hundreds of thousands of open source projects. There are quite a few open source Pong clones, and even the simplest ones are over 1,000 lines of code. As a game programmer, it’s important to have strategies to manage that complexity.

Big games are orders of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required