Whats a very simple but good game i can try to make?

This is a discussion on Whats a very simple but good game i can try to make? within the C++ Programming forums, part of the General Programming Boards category; Whats a simple but good game i can try to make(note: i am a begginner.) I don't want to make ...

  1. #1
    Flash Animator, OF DOOOOM bluehead's Avatar
    Join Date
    Nov 2001
    Posts
    269

    Whats a very simple but good game i can try to make?

    Whats a simple but good game i can try to make(note: i am a begginner.) I don't want to make tic tac toe because its been done-more than twice! so i don't want to do that. what is another easy to make game i can do?

    please submit anything!
    thank you
    Code:
    #if _emo
      #define stereo_type_i_dislike
    #endif

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    someone wrote to me to ask me to write a game for them in straight c. I knew this was for his homework so I wrote it for him but in c++ (fully OOP).The game was called Hunt the Hurkle. I have lost the email but I have my code so i can tell you the basic rules....

    the board is a 10x10 square.You have 10 moves to uncover the hurkle.When you make a move if its a miss then you have to tell the user where the hurkle is in relation to the guess.This only has to be a single direction of either UP,DOWN,LEFT or RIGHT.If the hurkle is found then print a message and ask for another game.If the game is lost then print a message including the position of the hurkle and ask for another game. Have a good go at this.Try and take an OOP approach if you can.Post your code and you may have my version to learn from if you wish!
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  3. #3
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    Heyyy Sebastiannnnn!!!!

    ya well I han't gave you the code to move a character yet
    so I'll just give you the basic idea for now, IM me later for questions since your not online right now...

    Since you have the code for the arrow keys, you might want to try this(This is the way I made my little '@' move in all my games):

    make two integer variables, x and y, and make them zero
    under the K_UP statement say gotoxy(x,y), putch(' ') to make it blank so it doesn't leave any tracks, then say y--, then put gotoxy(x,y) and putch('@'). That should work. Now For The right arrow key, make sure you put x++, and for the down arrow key, put y++, and for the left arrow key, put x--. Remember to include conio.h.
    That is exactly how I did my games(my first ones).
    Last edited by Xterria; 11-06-2001 at 08:34 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. PC Game project requires c++ programmers
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 02-21-2006, 11:23 PM
  2. Simple driving game
    By VirtualAce in forum Game Programming
    Replies: 6
    Last Post: 07-06-2004, 09:34 AM
  3. why do game devolpers make you use the disc???
    By nerdyneo in forum A Brief History of Cprogramming.com
    Replies: 37
    Last Post: 01-01-2004, 02:28 AM
  4. good or bad game idea you vote?
    By L_I_Programmer in forum Game Programming
    Replies: 3
    Last Post: 03-15-2003, 06:14 AM
  5. An old good DirectX game of mine
    By Sang-drax in forum Game Programming
    Replies: 8
    Last Post: 07-25-2002, 11:05 AM

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