functional pong game without motion capture