Advertisement
iOS SDK

Learn iOS Game Development By Example: 10 Projects to Get You Started

by

Interested in mobile game development? This list of 10 open-source, iOS game projects available on GitHub will help get you started! The projects compiled in this list range from clones of classic games like Pong and Connect Four to apps that are very similar to those that have recently topped App Store charts. There's nothing quite like learning by example, so let's get started!

The projects listed below should not be copied and submitted to the app store. Instead, they should be carefully reviewed so that you can learn by example and create your own game.

1. iPong

iPhone Open-Source Games: iPong

iPong is a clone of the classic Atari "Pong" video game and offers multi-player gameplay. If you’re new to creating games, this Github project is a great place to start!

Find the project on Github here.

2. Find the Monkey

iPhone Open-Source Games: Find the Monkey

Find the Monkey is another simple game that is great for intermediate and beginning iOS game developers. The premise of the game is simple: the game randomly hides a monkey behind a series of blocks, and the player tries to determine which block is concealing the monkey with the least amount of guesses and the shortest amount of time.

Find the project on Github here.

3. Four in a Row

iPhone Open-Source Games: Four in a Row

Four In A Row is the iOS version of Milton Bradley's classic Connect 4 game. You probably played this game as a kid, and some of you may even still play as an adult! It’s a simple two-player game in which players compete to get four circles in a row either horizontally, vertically, or diagonally.

Find the project on Github here.

4. Cocos Shooter

iPhone Open-Source Games: Cocos Shooter

Cocos Shooter is a simple 2D shooting game demo that you can use to learn explosion effects. The author has kindly posted an accompanying blog post on how the game was made.

Find the project on Github here.

5. Cocos Whack Mole

iPhone Open-Source Games: Cocos Whack Mole

Cocos Whack Mole is a whack 'em game for iOS that is inspired by the classic whack 'em games found at local arcades all over the world. For the uninitiated: a "mole" appears for a short period of time and the player must tap the mole before he disappears. Each successful tap results in a change in demeanor for the mole and a higher score for the player.

Find the project on Github here.

6. Mahjong Mania

iPhone Open-Source Games: Mahjong Mania

Mahjong Mania is a project based on the classic Chinese card game Mahjong. Beginning iOS developers will find a plenty of code to learn from here. This project includes iAD integration, time tracking, and game center support!

Find the project on Github here.

7. Knight Fight

iPhone Open-Source Games: Knight Fight

Creator Laurence Archer (Lozarcher) describes Knight Fight as a “2D isometric game for the iPhone and iPad with game play similar to Ultimate’s game Gunfright from 1986.” Be warned: Knight Fight is both fun an addictive. The goal of the game is to find the Knight and win a shoot-out. Players must also avoid and outsmart ghosts while looking for bonuses in each of the homes.

Find the project on Github here.

8. Tiny Wings Clone

iPhone Open-Source Games: Tiny Wings

This project is a clone of the popular, top selling App Store game Tiny Wings. While the bird is missing from the game, you will recognize the rolling hills and long flights the game character takes. This project is a great place to learn game development fundamentals for those who are already intermediate or advanced iOS Developers.

Find the project on Github here.

9. Climbers

iPhone Open-Source Games: Climbers

Climbers is a unique puzzle game. The player controls two climbers connected together while climbing a wall made of rock. As they climb higher, the user must make strategic moves to ensure that the climbers both reach the top and collect all the stars available along the way. As an added element, the player must also watch out for falling rocks. This is a great game to learn from. It uses a unique concept to create fun levels and incorporates collision detection and object collection.

Find the project on Github here.

10. Cross Me Not

iPhone Open-Source Games: Cross Me Not

Created by Github user Manan19, Cross Me Not is an addictive puzzle game with multiple levels as well as iAD and Game Center integration. Users are given a shape with several connected lines that cross. The user then touches the red dots to move the lines and make a shape without any lines crossing.

Find the project on Github here.

Conclusion

The list above demonstrates just a few of the many Github iOS gaming projects that you can download, play with, and use as a reference point while learning iOS game development. In the future, we will both roundup additional insightful GitHub projects as well as take a closer, step-by-step look at the mobile game development process.

Interested in learning iOS game development or know of other open-source projects that the development community can benefit from? Drop me a line on Twitter (@williamherring) and let me know!

Related Posts
  • Code
    Mobile Development
    In the Spotlight: Brian LeRouxPreview image@2x
    The explosive growth of the mobile space has accelerated the search for a robust and viable cross-platform solution. In 2008, shortly after the introduction of the iPhone SDK and after fiddling with Cocoa and Objective-C, Brian LeRoux and his colleagues at Nitobi decided that their time was better spent building a cross-platform solution than building native mobile applications.Read More…
  • Code
    JavaScript & AJAX
    Connect 4 With Socket.ioSocket io wide retina preview
    Today we'll see how we can use Node.js and Socket.io to create a multiplayer Connect 4 style game.Read More…
  • Game Development
    Game Design
    The Difference Between a Blatant Clone and Building on a Proven GameCloning games vs building on proven genre
    Games have been around for long enough that clearly defined game genres and mechanics have emerged. Most new games belong to one or more of these genres, and are composed of some combination of these mechanics. New genres and mechanics do occasionally arise and surprise the world, but they are rare exceptions.Read More…
  • Game Development
    Game Design
    A Look at Luck in Game DesignA look at luck in game design 400px
    The luck vs. skill aspect of games is one which is fairly central to good design—indeed, it's something we've covered before. But before we worry about trying to balance luck and skill, we really need to ask: what is chance, and to what extent is it necessary in a game?Read More…
  • Game Development
    From Scratch
    Danger Droids: Create a Platformer in GameSalad, Step by StepDanger droids gamesalad platformer tutorial 400px
    In this five-part screencast tutorial series, I'll show you how to build a sci-fi themed platformer game, step by step, using the free GameSalad Creator tool. You don't need to have any previous programming experience or game development knowledge, I'll provide all the artwork, and you can follow along whether you're on Windows or OS X. Let's get started!Read More…
  • Game Development
    Game Design
    Old Game, New Twist: A Great Way to Practice Your Gamedev SkillsOld game new twist hires
    So you're an aspiring new game developer, you've made a few simple programs, and you're itching to make an actual game. You probably have lots of ideas, but making games almost always takes more effort than you think it will, so you need to start off simple. You need a small project to let you test your skills and whet your interest. In which case, what better idea than to remake a classic - but with a twist?Read More…