prototype of a video game with no member or global variables