create a trainer for a game.