Professional Documents
Culture Documents
README
README
This is an implementaion of the famous Snake Ladders board game known as "Gyan
chauper"
in India and "Chutes and Ladders" in the United States , in arabic its called
"����� ������".
//---------------------------<>--------------------------------
Game info:
Boards :
1-Ready Boards (3 of them)
2-Custom Boards (randomize snake and ladders position with different
templates)
Mode :
1-Player vs Player.
2-Player vs CPU.
Extras :
1-Three different Backgrounds
2-Player manager (edit name,delete player,add player ...etc)
//---------------------------<>--------------------------------
External Libraries :
1-Bitblt
2-sndplay
Ram usage : about 174mb (all assets are loaded at one time)
Positioning Mechanism : every snake , ladder , the player's piece has its own
image/animation
images that are placed in offsets relative to the main board , some mechansim were
used to
handle this (you will see it in the code) , I have it working on (1360x768) and
(1024x768) resolution
with no problem.
Where was the bitblt used ? It was used only in the board animation and the
background , other stuff used the "picture"
attribute which means load all the way from the HDD , which may(or must actually)
cause some flickering.
//---------------------------<>--------------------------------