Skip to content

DaleJ122/mars-rover-blazor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MarsRoverBlazor

A minimal Blazor WebAssembly app that simulates NASA-style rover navigation on a fixed 100 × 100 m Martian grid.
Issue batches of up to five commands, watch the rover move on a live grid, and review past runs.


Features

Capability
🛰️ Fixed 100 × 100 grid (1 cell ≈ 1 m²)
↔️ Commands: Nm, Left, Right (case-insensitive)
5️⃣ Processes at most five commands per batch
🟥 Live grid (6 px cells)
• red = current rover
• blue = visited trail
💥 Perimeter guard halts the batch and shows a warning
📜 Command history – oldest at top, newest at bottom
🔄 Run executes and clears the five inputs
🧹 Reset returns rover to cell 1, clears trail & history

Quick start

# 1. clone
git clone https://github.com/DaleJ122/mars-rover-blazor.git
cd MarsRoverBlazor

# 2. restore & run
dotnet restore
dotnet run -p MarsRoverBlazor

# 3. browse
open https://localhost:5001        # or wait for auto-launch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published