The original dos version: http://cboard.cprogramming.com/showt...threadid=32503

Ive upgraded it to DirectX, not with out its own new and unique bugs of course.

To play, press arrow keys to move the snake around and gobble the apples. I suggest playing in fullscreen the first time as you get to see the full poor quality of my programmer art. Play in windowed mode to see the odd bug.

If you have any clue as how i can fix the displaying of bitmaps bug, please do tell. Details on where to find the sources of error are mentioned with the bug.

Download file: http://amithran.hybd.net/downloads/dxnibbles.zip

BUGS:
=Color distortion(windowed mode): I dont know wtf is going on here, but i have narrowed down the cuase to my Initiating the D3D Device. Functions that may hold the Answer:
-GameInit() , (gmain.cpp) // calls initD3DDevice
-InitDirect3DDevice , (d3d.cpp) // inits the device
-CMedia::RenderTile , (Media.cpp) // how i render the bitmaps


=MsgBox pops up and not visible ( full screen mode): Due to the game running in Full screen mode, when the message box pops up asking you to play again (after you die) you cant see it. Press enter to play again, or tab then enter to quit. SHIFT+q = (Q) will exit the game at any time.