Advertisement

dos game programming

Started by August 03, 2001 09:18 AM
0 comments, last by Mikky 23 years, 6 months ago
can someone give me a little help how to make this simple game (u know snake goes over screen and eats little cubes and geting bigger every time he eats ....) i am really stuck and dont know how to begin should i make struct of snake or use two dimensional array to represent snake cordinates or...? also anyone knows where can i download sources for simple dos games? thanks
Mikky,
For the snake, an easy implementation would be to have an array that represents the screen (a text screen is usually 80x25), and have where the snake''s body is represented in the array. Then map the array to the screen. (Just off the top of my head)

And, you can check out programmers heaven for some source code.
http://www.programmersheaven.com for some games.

My Gamedev Journal: 2D Game Making, the Easy Way

---(Old Blog, still has good info): 2dGameMaking
-----
"No one ever posts on that message board; it's too crowded." - Yoga Berra (sorta)

This topic is closed to new replies.

Advertisement