My First Game!!!!!!!

This is a discussion on My First Game!!!!!!! within the Game Programming forums, part of the General Programming Boards category; Hi peeps, i've "completed" my first game its a DOS based version of the towers of hanoi. There are three ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    87

    My First Game!!!!!!!

    Hi peeps, i've "completed" my first game its a DOS based version of the towers of hanoi. There are three pegs A,B+C to start with Peg A has a series of rings the smallest on top and the largest on the bottom. The goal is to acheive this same order on Peg B in the minimum number of moves possible. Two main rules exist

    1. A larger ring may not be placed on top of a smaller one
    2. Only one ring at a time may be moved.

    Please tell me what u think of it, there are obviously some things to improve upon, but ur comments would be appreciated.

    http://www.geocities.com/puterpaul2002/index.html
    PuterPaul.co.uk - Portfolio site

  2. #2
    Registered User red_baron's Avatar
    Join Date
    May 2002
    Posts
    274
    nice job for a first game! mine was a lot like it (stix).
    suggestions:
    1. make an end sequence
    2. controls aren't very good

    thats basically all, keep up to good work
    ¿Red Baron?

    "Imagination is more important than knowledge"
    -Albert Einstein (1879-1955)

    Check out my games!

    [code] /* dont forget code tags! */ [/code]

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    87
    I've gotten rid of a few bugs and added a move counter, go to the same URL to download it.
    PuterPaul.co.uk - Portfolio site

  4. #4
    Registered User
    Join Date
    May 2002
    Posts
    4
    Hey!

    Congratulations, not bad at all. At least you finished your first game (I'm still working on mine ).

    But there are quite abit of things you might want to consider tho:
    - go to www.gametutorials.com and under C++ check out how to do screen buffering (I know it might be confusing at first, but it's worth it - it's the easiest graphics get )
    - validate the entries (check if you can move B to C or C to A for example when all the numbers are in A) - to do that you can just make an array holding the number of entries in each - A,B and C.
    - the screen is not big enough to see all the numbers on Hard difficulty ... try to make the operations or input simpler, like by typing in "A-C" it will move from A to C. (you can do it via strcmp() or make a function like that yourself).

    In all, pretty good game

  5. #5
    Registered User
    Join Date
    Mar 2002
    Posts
    87
    Small update, I changed the display slightly so that the user can now see all the numbers in hard. I've also included the source code and VC workspace files.

    Get it here: http://www.puterpaul.co.uk/hanoi.html
    PuterPaul.co.uk - Portfolio site

  6. #6
    Registered User
    Join Date
    Mar 2002
    Posts
    87
    Just a side note, I plan on trying to get to grips with the DirectX API, pretty heavy stuff these API's. How the hell did you guys get to grips with it.

    I have to admit its quite daunting at the moment.
    PuterPaul.co.uk - Portfolio site

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-08-2010, 12:08 AM
  2. Open Source / Semi Open source game idea. Help needed
    By CaptainPatent in forum Projects and Job Recruitment
    Replies: 10
    Last Post: 05-16-2007, 11:44 AM
  3. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  4. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-25-2002, 12:00 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21