MobGuessr is a lightweight browser game that shows Minecraft mob images and asks the player to guess which mob it is. Images are sourced from the Minecraft Fandom (Gamepedia) Category:Mob_images pages so the sprites/renders are accurate.
- Uses canonical mob images from Minecraft Fandom .
- Responsive, touch-friendly UI for mobile devices.
- Color-blindness palettes (Normal / Protanopia / Deuteranopia / Tritanopia) with persistence.
- Accessibility improvements: descriptive alt text, captions, focus outlines, and ARIA live regions.
- Confetti celebration on correct answers.
- Open the game in a browser by opening
folder/index.htmlor serve the repo and visit the page:
# from repo root
python3 -m http.server 8000
# then open http://localhost:8000/folder/index.htmlfolder/index.html— game UIfolder/styles.css— styles, responsive rules, and color-blindness variablesfolder/script.js— game logic, image mapping, settings persistence
folder/script.jsfetches a mob list from the Astroworld API and maps mob ids to fandom image URLs defined in thefandomImageMap.- Only mobs with a known fandom image are shown; duplicates (same image used by multiple ids) are filtered out.
- The settings screen exposes a color-mode selector which persists to
localStorageand applies CSS variable overrides.
- Editing images/mappings: update
fandomImageMapinfolder/script.jsto add more mob ids and fandom image URLs. - Accessibility: image
altand caption update per question;#currentPointsusesaria-live="polite". - Styling:
folder/styles.cssuses CSS variables and.cb-*classes for color modes.
- The UI is responsive; use your browser's device emulation or open the served page on a phone on the same network.
- Add a small placeholder sprite for missing images.
- Log missing mob ids automatically and provide a tooling page to map them to fandom files.
- Add keyboard shortcuts for answers and improved screen-reader announcements of correct/incorrect answers.
- MIT
- Mob images are from Minecraft Fandom (Gamepedia). Game logic and code by the project owner.
Enjoy! Send feedback or request more mappings and I can add them.