Example #1
0
 def __setUpSnakeForMovingDownRightBorderSafe(self):
     snake = Snake()
     snake.setSnakeCoordinates([Coordinates(19,19), Coordinates(19,18), Coordinates(19,17), Coordinates(19,16), Coordinates(19,15)])
     return snake
Example #2
0
 def __setUpSnakeForMovingUpLeftBorderSafe(self):
     snake = Snake()
     snake.setSnakeCoordinates([Coordinates(2,2), Coordinates(2,3), Coordinates(2,4), Coordinates(2,5), Coordinates(2,6)])
     return snake
Example #3
0
 def __setUpSnakeForMovingDownRightBorder(self):
     snake = Snake()
     snake.setSnakeCoordinates([Coordinates(20,20), Coordinates(20,19), Coordinates(20,18), Coordinates(20,17), Coordinates(20,16)])
     return snake
Example #4
0
 def __setUpSnakeForMovingUpLeftBorder(self):
     snake = Snake()
     snake.setSnakeCoordinates([Coordinates(1,1), Coordinates(1,2), Coordinates(1,3), Coordinates(1,4), Coordinates(1,5)])
     return snake
Example #5
0
 def __setUpSnakeForMovingLeftRightUp(self):
     snake = Snake()
     snake.setSnakeCoordinates([Coordinates(10,10), Coordinates(10,11), Coordinates(10,12), Coordinates(10,13), Coordinates(10,14)])
     return snake
Example #6
0
 def __setUpSnakeForMovingUpDownRight(self):
     snake = Snake()
     snake.setSnakeCoordinates([Coordinates(14,10), Coordinates(13,10), Coordinates(12,10), Coordinates(11,10), Coordinates(10,10)])
     return snake