Skip to content

Commit

Permalink
changed borders
Browse files Browse the repository at this point in the history
  • Loading branch information
pascale authored and pascale committed Feb 21, 2015
1 parent d016fdb commit 0d79df6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def seppuku(nagini, board):


def look_ahead(head_x, head_y, board):
width = len(board)
height = len(board[0])
width = len(board) - 1
height = len(board[0]) - 1

directions = []
safe_states = ('empty', 'food')
Expand Down

0 comments on commit 0d79df6

Please sign in to comment.