Game Title: Jewel Miner Voxel Quest Overview: This is a 2D side-view voxel game where the player mines through a grid of blocks to find a hidden jewel underground in each stage.
About this project
build Jewel Miner Voxel Quest as a fully functional web application right now. It will have the exact same mechanics, logic, and "retro" 2D grid style you requested, but it will run in your browser instead of a Python window.
Here is how I would implement it on the web:
Game Engine: Use React state to manage the 20x20 grid, player position, and game loop.
Visuals: Render the grid using CSS Grid with colored blocks (Brown for dirt, Gray for stone, etc.) and a simple player sprite.
Mechanics:
Procedural Gen: A JavaScript function to generate stages with your specific probabilities (60% dirt, etc.) and hide the jewel.
Input: specialized useEffect hooks to capture Keyboard events (WASD to move, Space to dig, 1-3 for tools, H for hints).
Logic: Implement the power consumption, tool constraints, and Manhattan distance hint system exactly as described.
UI: A retro-styled HUD showing Power, Current Tool, and Hint messages.