Thread: Suggestions for a game?...?

  1. #16
    Unregistered
    Guest
    You didn't say that it have to be snake game or pong game, you said you want a console game and not a complex one.

  2. #17
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    Oh sorry i thought you were responding to a particular post.

  3. #18
    Unregistered
    Guest
    Concerning that particular post, I don't exactly know what "snake game" is in nokia phones, but I guess that it is some version of nibbles. The original nibbles (ms one) was written in qbasic, you may port it into c if you like, the source code is here:

    http://www.fortunecity.com/skyscrape...ds/nibbles.zip

  4. #19
    Registered User heat511's Avatar
    Join Date
    Dec 2001
    Posts
    169

    ahhhhh, not nibbles

    i tried to make a game like that, but i couldn't figure out how to make the tail follow you when you turned, so its now a 1/2 way complete ascii pacman game. Its pretty cool at the moment, but no enemies yet...

    as to what game you should make i would do something like this (this is what i did) 1. ttt 2. battleship 3. Some other game using 2d arrrays like connect 4 or what im doing, a text based rpg with a 2d array for the world map

  5. #20
    Unregistered
    Guest
    > i couldn't figure out how to make the tail follow you when you turned

    The best solution is perhaps linked list, but an array where you copy all the elements on every step is also not so bad solution

  6. #21
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Othello, fairly more advanced than TicTacToe.

    (I'm working on Othello in LISP now. LISP sux... )
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  7. #22
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    Many ppl say lisp is good.

  8. #23
    Registered User heat511's Avatar
    Join Date
    Dec 2001
    Posts
    169

    yeah, linked lists

    i was thinking about doing it that way, but it would still be really complicated. Can you elaborate as to how exactly you would use linked lists unregistered?

  9. #24
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Originally posted by Nutshell
    Many ppl say lisp is good.
    I agree that LISP is great when handling linked lists (LISP = List processor, or something ), but the syntax and the non-imperative structure is ugly and insane. And you can never get the parantheses (sp?) right either...
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  10. #25
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Originally posted by Magos
    non-imperative
    a.k.a. functional programming
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

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, 01: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, 07:58 PM
  4. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 01:32 PM
  5. Someone help me with this game??
    By stehigs321 in forum Game Programming
    Replies: 15
    Last Post: 10-30-2003, 09:42 PM