Setting up a custom game against an AI in Hedgewars is a few simple steps. First, go to the main menu and click the Options icon, which looks like a wrench. Add a team and set it to be computer-controlled, using the option near the graves chooser. Save your settings and return to the main menu, then select Local Play and choose Multiplayer, the one marked with an explosion on its icon. From there, pick your teams and you are ready to play against the AI.