game funcional - needs rework