Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if board[i] != 0 and board[i-2]!= 0 :
- while board[i+1] != 0 or board[i+1] != player:
- removed[i+1]= player
- board[i+1]= 0
- i+=1
- return board,removed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement