Skip to content

Instantly share code, notes, and snippets.

@pumpkincouture
Created August 4, 2014 03:40
Show Gist options
  • Save pumpkincouture/bf6b78eba85922a7bbc3 to your computer and use it in GitHub Desktop.
Save pumpkincouture/bf6b78eba85922a7bbc3 to your computer and use it in GitHub Desktop.
def game_over?(board)
open_spaces(@board).length <=0 || winner?(@board)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment