/LunarLander.WebAssembly

Land on the moon from the safety of your web browser!

Primary LanguageC#MIT LicenseMIT

Lunar Lander

Use your browser to land on the moon!

screenshot

Successful landing!

screenshot

Successful simulator output

Background

This is a C#+Blazor+WebAssembly port of a command line C# Lunar Lander which is in turn a port of a DEC PDP-8 Lunar Lander.

This port uses a fork of Blazor.Console to simulate a Console in a web browser.

Prerequisites

  • .NET Core 6

Getting started

git clone https://github.com/TrevorDArcyEvans/LunarLander.WebAssembly.git --recursive
cd LunarLander.WebAssembly
dotnet restore
dotnet build
dotnet run

open LunarLander.WebAssembly

Limitations

  • lots of Console APIs are not supported in a browser eg
    • ForegroundColor
    • BackgroundColor
    • Title
    • WindowWidth

Other implementations

More graphical implementations can be found here:

Further information