Basic Game Window

Let's get started by just creating a simple game window.  Otter uses a class named "Game" to make this pretty simple!

using Otter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StartGame {
  class Program {
    static void Main(string[] args) {
      // Create a game
      var game = new Game("My First Otter Game", 640, 480, 60, false);

      // Start it up
      game.Start();
    }
  }
}

You should end up with something that looks like this:

Otter Game Window

There you have it!

Examples