module pattern rest of games