如何用Python开发拼图游戏( 五 )



                        [IMAGE

_SIZE*1.5, IMAGE_

SIZE

*1.5], [IMAGE_SIZE*

2.5, IMAGE_SIZE*1.5],

                        [IMAGE

_SIZE*0.5, IMAGE_

SIZE

*2.5], [IMAGE_SIZE*

1.5, IMAGE_SIZE*2.5], None]





ROWS = 3

COLS = 3



steps = 0



board = [[None,None,None],[None,None,None],[None,None,None]]



class Square:



    def 

__init__

(self,coordinage):

        self.center = coordinage