Naive (as in doesn't work) implementation of checking for a winner.
Fix merge conflicts