Suggestions for a game?...?

This is a discussion on Suggestions for a game?...? within the Game Programming forums, part of the General Programming Boards category; Hi, I am currently reading C Unleashed. I was thinking of creating a little game to impress myself Can anyone ...

  1. #1
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020

    Suggestions for a game?...?

    Hi,

    I am currently reading C Unleashed. I was thinking of creating a little game to impress myself

    Can anyone post some suggestions on what game i should make? I can only think of two:

    - battleship
    - tic tac toe

    Anyone pls post whatever game ( not-that-complex ones pls ) they can think of that is possible to write by me under C, and of course i'm not talking about Quake and stuff like that. Board games, simple AI-minded games, strategy ones.....etc

    Thnx in advance, I would consider every sensible suggestion.

  2. #2
    I'm Back
    Join Date
    Dec 2001
    Posts
    556
    You could also try some card games -blackjack/flush etc or even make a new game of your liking.

    Card games get tough if you do all checks

    I once made agame in which you had to shoot some n number character at the top of the screen in limited chances. I posted it here in the game board.

  3. #3
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    Um, I would start off with Tic-Tac-Toe as your first game. Then to gain even more experience from it, I would also include AI in it, as well as, human vs human play.

    That's what I did with my first game, Tic-Tac-Toe. Right now I'm still working on my second game (haven't had much time to get it finished ), and it is a maze style game. For my third game I have many ideas, such as making a capture the flag style of game. This game would help with more extensive AI, detection, and other aspects of programming that I will need experience on. I've, also, thought about making a frogger style of game for my third game, or to even join the frogger style of game with my current project.

    The reason why I told you my path for my first few games is so you can see how somebody goes about creating their first few games. A tip would be to always try new techniques and new features in your games. Such as how in each game of mine they become/will become a little bit more complex.

    Also, you can gohere (a link to my tic-tac-toe game) to look at source code for tic-tac-toe.

  4. #4
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    Thnx for all replies so far. Games mentioned so far are card games and tic tac toe. Any other suggestons are welcome.

    thnx i'll think now.

  5. #5
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    Here some other games you could do, but fora first game I would try to keep it fairly simple (not to say that coding the game will be easy but that the nature of the game is simple).

    Hangman

    Guessing number game

    slots game...use an array like this
    Code:
         1 1 1
         1 1 1
         1 1 1
    Keep track of how much money the user has, if the user wants to insert 1 coin it will only get one row of numbers, if the user wants to insert 2 coins it will get 2 rows of numbers, randomize the array so the numbers will varry, and maybe a few other things that I'm probably leaving out.

    Checkers...depending on your knowledge/skill/experience with C this could be a little difficult for your first game?

    Connect Four

  6. #6
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    A guessing game will be too simple. I am doin my first game but i don't think i am a beginner as C ( about intermediate ).

    Checkers................................i don't know how to play it myself...sigh

    I don't know how to play connect four either, so how am i going to code them?

    anyway thnx a lot

  7. #7
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    I don't know how to play connect four either, so how am i going to code them?
    With connect four all you try to do is connect four pieces together...kind of like tic-tac-toe...I'll explain.

    The gameboard (array) would like this:

    Code:
    1 1 1 1 1 1 1 1
    1 1 1 1 1 1 1 1
    1 1 1 1 1 1 1 1
    1 1 1 1 1 1 1 1
    1 1 1 1 1 1 1 1
    1 1 1 1 1 1 1 1
    1 1 1 1 8 1 1 1
    1 1 1 1 7 1 1 1
    Instead of being able to place your piece anywhere you have to set it at the very bottom level, so starting off your piece has to go at the very bottom level. Lets say you place it in number slot 7. Then the next person goes and can put in anywhere in the bottom row except slot 7 and can also place it in slot 8. This means that you can place your piece on top of one anothers to prevent the other player from connecting four in a row. You can connect four in a row horizontally, diagonally, and vertically. This would be a more complex version of tic-tac-toe, and might be a better choice than ttt depending on what you want to do.

  8. #8
    Registered User compjinx's Avatar
    Join Date
    Aug 2001
    Posts
    214
    A REALLY fun game to program is the card game SET, you don't even need any AI. simply check to see if the cards selected are a set.
    "The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."
    Eric Porterfield.

  9. #9
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    Oh thnx i know how to play connect four, and it sounds like a simple but very fun game!! I'll really consider that.

    But i don't erally understand the card set game. What do you mean by a set? A pair, full house, snake and things like that?

    thank you

  10. #10
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753
    if you want to have the most fun on your project, i would recommend a text rpg. thats what im doing now. just make sure you understand structs, and dont mind taking a little longer to code it than your average tic tac toe.

  11. #11
    Unregistered
    Guest

    Two games for beginners

    I suggest that you can code for these game which requires not a great logic but the second one needs a little "datastructures"

    1. A pingpong game
    2. A snake game(this can be found in nokia phones)

    Also you are requested to see the thread posted by unregistered in the "Threads in C section" named

    1. Unsolvable fact in multidimensional array (this is basic concept of C)
    2. Controlling non-dos programs

    I am searching for intelligents around the world.........:-)

    That's all

    -------- by sridhar.R Anna University,chennai,India

  12. #12
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    Hi, thnx for your suggestions. But both games you suggested are generally not console-based. I don't plan to use any graphic libraries.

  13. #13
    SRIDHAR
    Guest

    Lightbulb Can be done in Console

    The second game i mentioned i.e is snake game can be done in cosole mode too. You build your confidence after you finish coding this game.
    An important tip : this game uses the "Queue" datastructures

    Any more suggestions.... mail me to therealgenius_sridhar@yahoo.com or sridhar@cs.annauniv.edu

    Check my website at

    http://sridhar.has.it

  14. #14

  15. #15
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    Why give me that link? THre's no snake or pong game there.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. my upcoming UNO card game :)
    By Hussain Hani in forum Game Programming
    Replies: 5
    Last Post: 01-24-2008, 12:19 AM
  2. C Programming 2d Array Question
    By jeev2005 in forum C Programming
    Replies: 3
    Last Post: 04-26-2006, 03:18 PM
  3. craps game & dice game..
    By cgurl05 in forum C Programming
    Replies: 3
    Last Post: 03-25-2006, 06:58 PM
  4. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 12:32 PM
  5. Someone help me with this game??
    By stehigs321 in forum Game Programming
    Replies: 15
    Last Post: 10-30-2003, 08:42 PM

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