Cleaned up reveal code a bit and added very basic win/lose handling