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.
Printable View
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.
Oh sorry i thought you were responding to a particular post.
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
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
> 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
Othello, fairly more advanced than TicTacToe.
(I'm working on Othello in LISP now. LISP sux... :()
Many ppl say lisp is good.
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?
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... :DQuote:
Originally posted by Nutshell
Many ppl say lisp is good.
a.k.a. functional programming :)Quote:
Originally posted by Magos
non-imperative