diff --git a/public/index.html b/public/game.html similarity index 99% rename from public/index.html rename to public/game.html index a665e38..8bb38b3 100644 --- a/public/index.html +++ b/public/game.html @@ -369,7 +369,7 @@ (function() { // Get room name from URL const pathParts = window.location.pathname.split('/').filter(p => p); - const roomName = pathParts[0] || 'default'; + const roomName = pathParts[pathParts.length-1] || 'default'; document.getElementById('room-display').textContent = `Room: ${roomName}`; // Get or create player UUID diff --git a/public/menu.html b/public/menu.html new file mode 100644 index 0000000..339f82b --- /dev/null +++ b/public/menu.html @@ -0,0 +1,226 @@ + + +
+ + +Y.A.R.N was a collaborative story-writing "parlor game" originally included in GameSpy Arcade in the early 2000s, but removed shortly thereafter due to security issues that were never resolved.
+Y.A.R.N. HTML5 is a modern remake of (what I can remember from) the original, designed to run in-browser, and with extra features such as (optional) LLM-based bots.
+The rules are simple:
+Enjoy the story-writing!
+ Report any bugs/comments/questions/concerns in the Juke Gaming Network Discord or message the author @juke420.