A faithful recreation of the classic MinerVGA mining game, built in Visual Basic 6.
MinerVGA is a mining simulation game where you dig through the earth searching for precious minerals (silver, gold, and platinum) while avoiding hazards like cave-ins, whirlpools, and underground springs. Your goal is to accumulate $20,000 and find a diamond ring to win Miss Mimi's hand in marriage!
- Classic Mining Gameplay - Dig through dirt, discover minerals, and avoid hazards
- Multiple Hazards - Cave-ins, whirlpools, underground springs, granite, water floods
- Town Buildings - Visit the Hospital, Bank, Store, Saloon, and Outhouse
- Dynamic Market - Mineral prices fluctuate every 30 seconds at the bank
- Inventory System - 12 different items including shovel, pickaxe, drill, dynamite, lantern, and more
- Elevator System - Upgrade your elevator to reach deeper, richer deposits
- High Score System - Track your best runs with persistent high scores
- Save/Load System - Save your progress and continue later
- Sound Effects - Audio feedback using Windows Beep API
| Key | Action |
|---|---|
| Arrow Keys | Move / Dig |
| E | Enter building (when at door) |
| T | Elevator to top |
| B | Elevator to bottom |
| D | Use drill on granite |
| P | Pump water |
| Y | Use dynamite |
| Q | Toggle sound |
| H | Show help |
| S | Quick save |
| R | Quick load |
| X | Exit game |
- Hospital - Heal injuries for a fee
- Bank - Sell minerals for cash, sell diamonds
- Store - Purchase equipment and upgrades
- Saloon - Rest, eat, drink, and visit Miss Mimi
- Outhouse - A mysterious place...
| Item | Cost | Description |
|---|---|---|
| Shovel | $50 | Reduces digging cost |
| Pickaxe | $100 | Further reduces digging cost |
| Drill | $500 | Drills through granite (20 uses) |
| Lantern | $75 | See hidden minerals (long lasting) |
| Torch | $25 | See hidden minerals (short lasting) |
| Bucket | $30 | Pump water (20 uses) |
| Dynamite | $200 | Clear cave-ins and obstacles |
| Diamond Ring | $5,000 | Required to win the game |
| Condom | $5 | Reduces movement cost |
Accumulate $20,000 in cash AND acquire a Diamond Ring, then visit Miss Mimi at the Saloon!
- Visual Basic 6.0 (SP6 recommended)
- Windows Common Dialog Control (comdlg32.ocx)
- Clone the repository
- Open
MinerVGA.vbpin Visual Basic 6 - Press F5 to run or Ctrl+F5 to compile
MinerVGA/
├── frmMain.frm # Main game form with rendering
├── frmBank.frm # Bank building interface
├── frmStore.frm # Store building interface
├── frmHospital.frm # Hospital building interface
├── frmSaloon.frm # Saloon building interface
├── frmOuthouse.frm # Outhouse building interface
├── frmHelp.frm # Help screen
├── frmHighScores.frm # High scores display
├── modGameData.bas # Game constants and data types
├── modPlayer.bas # Player movement and actions
├── modGrid.bas # Grid generation and management
├── modInventory.bas # Inventory and save/load system
├── modHighScores.bas # High score management
├── modSound.bas # Sound effects (Windows Beep API)
├── tileset.bmp # Sprite tileset (16x24 tiles)
├── title-screen.bmp # Title screen graphic
└── MinerVGA.vbp # VB6 project file
- Grid Size: 40 columns x 118 rows
- Tile Size: 16x24 pixels
- Viewport: 32x17 visible tiles
- Rendering: Uses
PaintPictureandTransparentBltAPI for sprites
| Mineral | Chance |
|---|---|
| Platinum | 25 |
| Gold | 75 |
| Silver | 125 |
| Hazard | Chance |
|---|---|
| Spring | 240 |
| Cave-in | 300 |
| Granite | 250 |
| Whirlpool | Rare |
- Original MinerVGA game concept
- VB6 clone implementation
- Sprite artwork based on classic MinerVGA assets
MIT License = this project is a fan-made clone.
Dig deep, strike it rich, and win Miss Mimi's heart!
