Adds functionality to verify winning and losing