Cleaned up logic for game type
changed winning squares set to make it more flexible but it is really slow :(