TIP:
If you’re using Linux, NuGet may not setup your project correctly. Look at the folder containing your project. Add any .font and .png as project references and set them to Copy to output folder.

Open up your game1.cs file.

Change the base class from the MonoGame Game class to SadConsole.Game

1

public class Game1 : SadConsole.Game

Change the constructor to initialize SadConsole. Provide the font and width/height of the game window in cells.

1

publicGame1() : base("IBM.font", 80, 25, null)

Initialize

Before anything can be done with SadConsole, the main engine must be initialized. The initialization routine takes a GraphicsDevice reference object.

At least one font file must be loaded into the engine as the default font. A font is a set of cells representing every character used by your game. The following example overrides the Initialize() method on a Game class: