[refactor] move files into game/core
refine implementation of piece state serialization
implement effects serialization