Hopefully fixed the type of the pieces in getGame