Add game logic template
Call functions returned by actionFactory