begin implementing gameimpl.