implemented scaffolding for gameplay