Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


dos game programming

This topic is 6197 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post

Link to post
Share on other sites
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.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!