Game Development in C++
Game Development in C++
Literature Survey:
For AAA titles on PC and consoles - nearly all of them use C++, there are a few exceptions - but
C++ is by far the most likely. It’s by far the fastest language for general purpose use - and speed
tends to be of the essence in most parts of a AAA title.
For past few years, most of the game companies have been developing their own game engines,
which are written majorly using C++ only.
Thus, the journey to the world of game development in C++ starts with developing same basic
games like the ones we intend to complete in our project.
The main source for our motivation and idea behind this project is this article:
https://www.cprogramming.com/gameprogramming.html
and this text-book written by David Conger and Ron Little:
Creating Games in C++ : A Step-by-Step Guide.
Publisher: New Riders
Pub Date: February 21, 2006
Print ISBN-10: 0-7357-1434-7
Print ISBN-13: 978-0-7357-1434-2
These texts do not only tell about how C++ programming relates to gaming, but also mentions
the fact that in order to become a successful game developer, you first have to understand the
application of loops and pointers in C++ and how they are implemented in games, which we
intend to learn with this project idea.
Objectives to be carried out:
We aim to work on following core concepts behind any real-time game:
• Logic
• Basic Program Design
• Basic AI
• The game loop
• How a game updates over time
• The basics of game input and output
To learn these concepts, we intend to work on the following games:
1. Pong - This game falls on the simpler side of developing a game and makes one ready to
dive deeper into the world of game development.
2. Snake – Needing no introduction, this game is one of the must do in order to understand
the gaming loop.
3. Space Invaders – Blast alien spaceships as they fire weapons at you.
4. Game of Life- A cellular automation and simulation devised by John H. Conway.
Methodology to be accepted:
Just like any C++ project, following steps would be taken in order to achieve the final goal:
1. Brush up basics of C++ (loops etc.)
2. For the first two months, work on development of Pong and Snake and Space Invaders.
3. For the remaining time, work on the Game of Life.
If the time permits and we are able to complete these 4 games well in time, we shall move towards
the graphical aspects of games and would implement graphics in Pong and Snakes.
Outcome- At the end of this project, we hope to have gained enough experience and knowledge
about making games using C++ that we can aim towards the games with integrated graphics and
some AI.