Skip to content
/ hcmato Public

Snake game for practicing graphics programming in a 16 bit DOS environment

License

Notifications You must be signed in to change notification settings

peksin/hcmato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hcmato

screenshot

This is someday supposed to be a hardcore snake game. I started out trying to learn 16 bit DOS graphics programming with "Alex Russell's Dos Game Programming in C for Beginners". The idea was to learn how to draw graphics without the aid of external libraries such as SDL, OpenGL and the like.

http://www3.telus.net/alexander_russell/course/introduction.htm

I went along with the tutorial where applicable and made modifications as necessary. I then branched out to make a game of my own out of it.

I've left a ton of comments as notes for my future self in case I need to come back to this project later on.

Compiled inside DOSBox with Borland Turbo C++ 3.0

TODO:

-Sanitize snek length input -Add snek collision with itself -Prevent game from drawing collectibles on top of the snek

-Divide subroutines to modules -Sound system -Check for latency

NEXT LEVEL TODO: Moving collectibles? Multiplayer? Explosion graphics? High score -table? Port to SDL or something similar?

About

Snake game for practicing graphics programming in a 16 bit DOS environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages