Eddy_S

Untitled

May 29th, 2020
419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. # Find and set start positon
  2. for i, row in enumerate(game.grid):
  3.     for j, col in enumerate(row):
  4.         if col.display == "X":
  5.             game.player.row = i
  6.             game.player.col = j
  7.             break
Advertisement
Add Comment
Please, Sign In to add comment