An authentic, faithful modern recreation of the classic 1990 MS-DOS Microsoft QBasic game Nibbles (NIBBLES.BAS by Rick Raddatz) written in C#.
Runs directly in your terminal with zero flickering, authentic PC-Speaker sound effects, subpixel text rendering, and all 9 original levels!
Authentic QBasic Visuals & Text Mode Simulation:
▀, ▄, █) to achieve 80x50 virtual resolution in standard 80x25 terminal text mode.Authentic IBM PC Speaker Sound Engine:
PLAY macro strings.winmm.dll (with Console.Beep fallback).MBT160O1L8CDEDCDL4ECCT160O1>L20CDEDCDL10ECCMBO0L16>CCCEMBO0L32EFGEFDCM anytime to toggle mute.1-Player and 2-Player (Simultaneous) Gameplay:
↑, ↓, ←, →)W, S, A, DAll 9 Classic Level Mazes + Endless Mode:
Autonomous AI Demo Mode (--demo):
Comprehensive Unit Tests:
dotnet run
Follow the classic QBasic prompts to select:
Watch the computer play the game on its own:
dotnet run -- --demo
dotnet run -- --quick --players 1 --skill 50
Usage:
dotnet run [options]
Options:
--demo Run autonomous AI demonstration mode (press Esc or key to exit)
--quick Skip intro and setup screens, start directly with defaults
--players <1|2> Set number of players (1 or 2)
--skill <1-100> Set game speed/skill level (1=Novice, 90=Expert, 100=Twiddle Fingers)
--color Enable color mode (Default: Blue background, Yellow/Magenta snakes)
--mono Enable monochrome monitor mode
--mute Start with sound muted
--no-accel Disable game speed acceleration across levels
-h, --help Show this help message
| Action | Player 1 (Sammy) | Player 2 (Jake) |
|---|---|---|
| Move Up | ↑ (Up Arrow) | W |
| Move Down | ↓ (Down Arrow) | S |
| Move Left | ← (Left Arrow) | A |
| Move Right | → (Right Arrow) | D |
| Pause / Resume | P | P |
| Toggle Mute | M | M |
| Exit Game | Esc | Esc |
dotnet test
Executes 18 automated tests covering all core game logic and sound systems.
An authentic, faithful modern recreation of the classic 1990 MS-DOS Microsoft QBasic game Nibbles (NIBBLES.BAS by Rick Raddatz) written in C#.
Runs directly in your terminal with zero flickering, authentic PC-Speaker sound effects, subpixel text rendering, and all 9 original levels!
Authentic QBasic Visuals & Text Mode Simulation:
▀, ▄, █) to achieve 80x50 virtual resolution in standard 80x25 terminal text mode.Authentic IBM PC Speaker Sound Engine:
PLAY macro strings.winmm.dll (with Console.Beep fallback).MBT160O1L8CDEDCDL4ECCT160O1>L20CDEDCDL10ECCMBO0L16>CCCEMBO0L32EFGEFDCM anytime to toggle mute.1-Player and 2-Player (Simultaneous) Gameplay:
↑, ↓, ←, →)W, S, A, DAll 9 Classic Level Mazes + Endless Mode:
Autonomous AI Demo Mode (--demo):
Comprehensive Unit Tests:
dotnet run
Follow the classic QBasic prompts to select:
Watch the computer play the game on its own:
dotnet run -- --demo
dotnet run -- --quick --players 1 --skill 50
Usage:
dotnet run [options]
Options:
--demo Run autonomous AI demonstration mode (press Esc or key to exit)
--quick Skip intro and setup screens, start directly with defaults
--players <1|2> Set number of players (1 or 2)
--skill <1-100> Set game speed/skill level (1=Novice, 90=Expert, 100=Twiddle Fingers)
--color Enable color mode (Default: Blue background, Yellow/Magenta snakes)
--mono Enable monochrome monitor mode
--mute Start with sound muted
--no-accel Disable game speed acceleration across levels
-h, --help Show this help message
| Action | Player 1 (Sammy) | Player 2 (Jake) |
|---|---|---|
| Move Up | ↑ (Up Arrow) | W |
| Move Down | ↓ (Down Arrow) | S |
| Move Left | ← (Left Arrow) | A |
| Move Right | → (Right Arrow) | D |
| Pause / Resume | P | P |
| Toggle Mute | M | M |
| Exit Game | Esc | Esc |
dotnet test
Executes 18 automated tests covering all core game logic and sound systems.