A module for a whole kind of game
A module is an extra part of the engine that the agent loads only when a game needs it.
A module does the hard, repetitive work of one kind of game, such as drawing a road into the distance or dragging cards between piles, so the agent spends its effort on your rules and your art. You never install anything: ask for the game by name and the agent loads the module itself. Naming the module in your request makes sure it does.
Use the MinimoJS module made for this kind of game, if there is one.