snakes n ladders
Posted on 2006-06-21
i'm going to make a game in c++ - snakes n ladders..
first i though of making the board by plotting pixels ..
n the program will have the knowlegde of the coordiantes of each box, sankes and laddders.
to check in which box a pawn is i'll just check what are its coordinates and check in which box it lies(coordinates of each box is prefixed)
i made wach square of side 20 pixels ..
a pawn's center is always at the center of a box..
to move a pawn ahead i just added 20 to its x - axis coordinates (for horizontal movement only)
now i thought of another way but have no way how to implement it:::
is there any way i can just draw a 16 bit image and just import it into my program ?
if you have any advice/suggestions that'd be really nice ..