From 2dde0dfd4fec701814af3383cd598985d61d967e Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Wed, 20 May 2026 09:28:58 -0700 Subject: [PATCH] Require NPC proximity to trigger questions, generalize branding for multi-exam support --- README.md | 2 +- game.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f4ce185..18a6953 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 🎮 PokéAzure — Azure you ready? -A Pokémon-style web-browser game for **studying Microsoft Azure certification exams**! +A Pokémon-style Game Boy Advance browser game for **studying Microsoft Azure certification exams**! Journey through towns, each covering a different Azure exam. Play on your phone, tablet, or PC — progress saves automatically. > *"Gotta cert 'em all!"* diff --git a/game.js b/game.js index 2a7df4b..59536c6 100644 --- a/game.js +++ b/game.js @@ -453,6 +453,10 @@ class Game { } _talkToNPC() { + if (!this._nearNPC()) { + this.toast('Walk up to the NPC first!'); + return; + } const arrow = document.getElementById('map-dir-arrow'); if (arrow) arrow.style.display = 'none'; SFX.encounter();