Thread: Free games?

  1. #1
    Registered User
    Join Date
    Oct 2006
    Location
    UK/Norway
    Posts
    485

    Free games?

    I am looking for a place where I can download a simple example of a game and the source code that is commented. I would really like it to be a simple game, something like a box moving around or something, just to get the structure of how a game is made.

    thanks

  2. #2
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    Check it out! Poképong! It's free! It's on sourceforge! I just got it going, sourceforge approved the project like, two days ago! You can browse the source from your web browser, and then contribute to it if you want! I will make some documentation or an MS Paint drawing on how I approach the design at some point!

    http://sourceforge.net/projects/pokepong/
    http://pokepong.svn.sourceforge.net/...pong/pokepong/

  3. #3
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    planetsourcecode.com is a good site that has many games that a total beginner to a C++ expert has made are posted. All source code is freely avaliable. Do not expect anything like Doom, but they are not bad games.
    Double Helix STL

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    What type of games? The whole of sourceforge.net is an excellent source for anything code related. Just click on projects and filter for games. However you may find projects hosted there to be too complex (some too messy)... others may not. Search a little.

    But if you have a specific idea of what you are looking for, we may help (or not) known a little better.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #5
    Registered User
    Join Date
    Oct 2006
    Location
    UK/Norway
    Posts
    485
    What type of games?
    I am looking for something really simple. I just want to get a feel of how a game is structured. What is is which file and so on. So the simple the better really. So something like a box/character/car moving around would be perfect. The simple the better.

  6. #6
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    Like mario suggested, sourceforge.net has some excellent examples of games written in C,C++. The only slight drawback to this ( as mario suggested ) is they can be quite complex. If it is really basic games you are after, then check out the site I stated above.
    It might be a good idea to start at a text-based game level first. Sure, using ASCI graphics is boring, but you get the general feel of how a better game is made up.
    Double Helix STL

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. free() doesn't seem to work...
    By AlienJedi in forum C Programming
    Replies: 10
    Last Post: 01-29-2008, 05:27 PM
  2. Free Store of memory
    By George2 in forum C++ Programming
    Replies: 6
    Last Post: 11-12-2007, 02:27 PM
  3. How to free memory in this program
    By Coconut in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 10:57 PM