Thread: Easiest 'real' game to start with...

  1. #1
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    Easiest 'real' game to start with...

    What do you think the easiest 'real' game is to code? About how many lines of code also? And, as a computer is to system requirements, what, person is to skills needed, skills does a person need to do it. Like, ex.: you must know these things: pointers, functions, polymorphism, function overloading... blah blah. What skills must you have to do this game?

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    The first project that ive finished is 3D Free Cell , Ive started many, this is the first that I finished (meaning that it was within my abbilities to do). It could use a little more work, new features and whatnot, but it is a working/playable game done in 3d with OpenGL.

    Its 18 source files at 112kb (all are mine except the GLF Static Library which is 2 files at 49kb). I wouldnt know how many lines.

  3. #3
    Hmm...Maybe tictactoe or one of those old GameBoy games
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

  4. #4
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    Pong.
    Always my favorite first program in any new language or API.

  5. #5
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    yes

    but what skills in c++ must someone know?

  6. #6
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    as long as you can use functions and variables your set, the rest just makes it easier.

  7. #7
    Unregistered
    Guest
    You can make a simple RPG encounter in the console, I did it and it took me 2 hours.

  8. #8
    Registered User JTtheCPPgod's Avatar
    Join Date
    Dec 2001
    Posts
    44
    For someone beginning in C++ I think something really simple like a slot machine program. The hardest part about that is the random numbers. Tic Tac Toe wouldnt be too hard, that was proly the first real game we ever were assigned in our programming class... I'm working on battleship now, and thats after about 18 weeks in programming class.
    Oh, yea... How many lines...
    Well, I never actually did tictactoe for the class, its on my things to do...
    I'd think you could get that in around a hundred lines...
    And Battleship, I'n on line 425, and I've only done human and cpu ship placement (well kinda, I neep help on the cpu ship placement), but Im thinking if I cut it down after putting in the actual combat, I can keep it under 600...
    Last edited by JTtheCPPgod; 01-01-2002 at 05:13 PM.

  9. #9
    Ethereal Raccoon Procyon's Avatar
    Join Date
    Aug 2001
    Posts
    189
    Games I've made:

    1. Linear Text 'Adventure'
    Just a chain of locations with a couple options of what to do in each place before moving on. I made two of these, one without items and a second with items that affect what you can do in each place, as well as converging fork conditions.

    2. Nonlinear Text Adventure
    Like above, but you could go back and forth. I used GOTO (I didn't know any other way), so it rapidly became an abomination and I abandoned it.

    3. Turn-based RPG Combat.
    Typical RPG combat system, with no graphics.

    4. Turn-based Strategy
    The idea of this game was to recruit students from my high school and use them to stage an armed invasion of a rival high school. After recruitment you moved units around on a small tiled battlefield and shot at students as they fled the school (and subsequently the police). Fortunately, I finished this well before Columbine.

    5. Active RPG Combat
    RPG combat with graphics, sound effects, and Final Fantasy-style time gauges.


    I'd say a basic text adventure is the best starting place - it can be as simple or as complicated as you want it to be. All of the first four were also done in BASIC, and used virtually nothing fancy: functions were the most complicated thing I used.

  10. #10
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    post your game # 5

    post #5 for download please

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 05-09-2009, 08:37 PM
  2. 2D Game project requires extra C++ programmers, new or experienced
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 05-16-2007, 10:46 AM
  3. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  4. PC Game project requires c++ programmers
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 02-22-2006, 12:23 AM
  5. Replies: 7
    Last Post: 12-12-2001, 10:28 AM