function loadSnakeAndLadder(){
    _canvasObj.DrawImageWH(snake1,boxSize*1, boxSize*4,100, 250);
    _canvasObj.DrawImageWH(snake2,boxSize*1, 0,230,400);
    _canvasObj.DrawImageWH(snake3,boxSize*5,boxSize*2,100,250);
    _canvasObj.DrawImageWH(snake4,boxSize*6,0,100,200);
    _canvasObj.Save();
    _canvasObj.Rotate(0.25);
    _canvasObj.DrawImageWH(ladder1,boxSize*5, boxSize*3, 30,220);
    _canvasObj.Restore();
    _canvasObj.Save();
    _canvasObj.Rotate(-0.15);
    _canvasObj.DrawImageWH(ladder2,boxSize*7,boxSize*2.5,30,320);
    _canvasObj.Restore();
    _canvasObj.Save();
    _canvasObj.Rotate(-0.2);
    _canvasObj.DrawImageWH(ladder3,boxSize*4, boxSize*7, 30,170);
    _canvasObj.Restore();
}
//function to draw image of snake and ladder
function to draw image of snake and ladder
function to draw image of snake and ladder
function loadSnakeAndLadder(){
    _canvasObj.DrawImageWH(snake1,boxSize*1, boxSize*4,100, 250);
    _canvasObj.DrawImageWH(snake2,boxSize*1, 0,230,400);
    _canvasObj.DrawImageWH(snake3,boxSize*5,boxSize*2,100,250);
    _canvasObj.DrawImageWH(snake4,boxSize*6,0,100,200);
    _canvasObj.Save();
    _canvasObj.Rotate(0.25);
    _canvasObj.DrawImageWH(ladder1,boxSize*5, boxSize*3, 30,220);
    _canvasObj.Restore();
    _canvasObj.Save();
    _canvasObj.Rotate(-0.15);
    _canvasObj.DrawImageWH(ladder2,boxSize*7,boxSize*2.5,30,320);
    _canvasObj.Restore();
    _canvasObj.Save();
    _canvasObj.Rotate(-0.2);
    _canvasObj.DrawImageWH(ladder3,boxSize*4, boxSize*7, 30,170);
    _canvasObj.Restore();
}
function loadSnakeAndLadder ( ) { _canvasObj . DrawImageWH ( snake1 , boxSize * 1 , boxSize * 4 , 100 , 250 ) ; _canvasObj . DrawImageWH ( snake2 , boxSize * 1 , 0 , 230 , 400 ) ; _canvasObj . DrawImageWH ( snake3 , boxSize * 5 , boxSize * 2 , 100 , 250 ) ; _canvasObj . DrawImageWH ( snake4 , boxSize * 6 , 0 , 100 , 200 ) ; _canvasObj . Save ( ) ; _canvasObj . Rotate ( 0.25 ) ; _canvasObj . DrawImageWH ( ladder1 , boxSize * 5 , boxSize * 3 , 30 , 220 ) ; _canvasObj . Restore ( ) ; _canvasObj . Save ( ) ; _canvasObj . Rotate ( - 0.15 ) ; _canvasObj . DrawImageWH ( ladder2 , boxSize * 7 , boxSize * 2.5 , 30 , 320 ) ; _canvasObj . Restore ( ) ; _canvasObj . Save ( ) ; _canvasObj . Rotate ( - 0.2 ) ; _canvasObj . DrawImageWH ( ladder3 , boxSize * 4 , boxSize * 7 , 30 , 170 ) ; _canvasObj . Restore ( ) ; }
function to draw image of snake and ladder
function to draw image of snake and ladder