diff options
author | Nat Lasseter <user@4574.co.uk> | 2025-04-01 11:45:48 +0100 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2025-04-01 11:45:48 +0100 |
commit | 293df027348307de896232f1b867dd220ae8caa3 (patch) | |
tree | d63fedaadde32ef336f3004efb99c6dcf1f23585 | |
parent | e26f3cdaf3919375b8ba825ee1a486d229f21def (diff) |
[bracket] rename
-rw-r--r-- | static/bv/bc-favicon.png (renamed from static/bs/bc-favicon.png) | bin | 15538 -> 15538 bytes | |||
-rw-r--r-- | static/bv/bracket.css (renamed from static/bs/bracket.css) | 0 | ||||
-rw-r--r-- | static/bv/bracket.js (renamed from static/bs/bracket.js) | 14 | ||||
-rw-r--r-- | static/bv/index.html (renamed from static/bs/index.html) | 10 | ||||
-rw-r--r-- | static/bv/puzzleencoder.js (renamed from static/bs/puzzleencoder.js) | 0 | ||||
-rw-r--r-- | static/bv/tutorial/index.html (renamed from static/bs/tutorial/index.html) | 4 | ||||
-rw-r--r-- | static/bv/tutorial/tutorial-init.js (renamed from static/bs/tutorial/tutorial-init.js) | 2 | ||||
-rw-r--r-- | static/bv/tutorial/tutorial.css (renamed from static/bs/tutorial/tutorial.css) | 0 | ||||
-rw-r--r-- | static/bv/tutorial/tutorial.js (renamed from static/bs/tutorial/tutorial.js) | 14 |
9 files changed, 22 insertions, 22 deletions
diff --git a/static/bs/bc-favicon.png b/static/bv/bc-favicon.png Binary files differindex dc5136a..dc5136a 100644 --- a/static/bs/bc-favicon.png +++ b/static/bv/bc-favicon.png diff --git a/static/bs/bracket.css b/static/bv/bracket.css index ab0285f..ab0285f 100644 --- a/static/bs/bracket.css +++ b/static/bv/bracket.css diff --git a/static/bs/bracket.js b/static/bv/bracket.js index 59167b9..0d42747 100644 --- a/static/bs/bracket.js +++ b/static/bv/bracket.js @@ -360,14 +360,14 @@ class BracketCityRank { // Show important announcement after UI is fully rendered // Change the id parameter for each new announcement to ensure it shows this.showImportantAnnouncement({ - title: '\u{1F6A8} Welcome to [Bracket Shitty] \u{1F6A8}', + title: '\u{1F6A8} Welcome to [Bracket Village] \u{1F6A8}', message: ` <ul style="text-align: left; margin: 1rem 0; padding-left: 1.5rem;"> <li>Click <span class='help-icon'>?</span> to access the <mark style="background-color:rgba(255, 255, 0, 0.2);">tutorial</mark></li> <li>Click <span class='help-icon'>!</span> to access <mark style="background-color:rgba(255, 255, 0, 0.2);">news and settings</mark></li> <li>Click the date header to access the <mark style="background-color:rgba(255, 255, 0, 0.2);">date picker</mark> and browse the archive</li> </ul> - <p><strong>Thank you for playing Bracket Shitty!</strong></p> + <p><strong>Thank you for playing Bracket Village!</strong></p> `, buttonText: 'ok great thanks', id: 'update-2025-3-11' // Change this ID for a new announcement @@ -2920,7 +2920,7 @@ generateSpecialKeyHTML(keyItem) { return ` <div class="puzzle-header"> <button class="info-button">!</button> - <h1>[Bracket Shitty]</h1> + <h1>[Bracket Village]</h1> <button class="help-button">?</button> <div class="nav-container"> <button class="nav-button prev" ${!this.isMobile && 'disabled'}>←</button> @@ -3013,7 +3013,7 @@ generateSpecialKeyHTML(keyItem) { return ` <div class="rank-display" data-rank="${stats.rank}"> - You are ${(stats.rank === 'Chief of Police' || stats.rank === 'Mayor') ? 'the' : 'a'} Bracket Shitty<br> + You are ${(stats.rank === 'Chief of Police' || stats.rank === 'Mayor') ? 'the' : 'a'} Bracket Village<br> ${stats.rankEmoji} <b>${stats.rank}</b> ${stats.rankEmoji} ${nextRankMessage} <div class="share-hint"> @@ -3744,10 +3744,10 @@ generateSpecialKeyHTML(keyItem) { // Build share text with specific line breaks to match desired layout const shareItems = [ - '[Bracket Shitty]', + '[Bracket Village]', puzzleDate, '', - 'https://user.4574.co.uk/bs', + 'https://user.4574.co.uk/bv', '' ]; @@ -3800,7 +3800,7 @@ generateSpecialKeyHTML(keyItem) { // Check if Web Share API is available if (navigator.share) { navigator.share({ - title: 'Bracket Shitty Results', + title: 'Bracket Village Results', text: shareText }) .then(() => { diff --git a/static/bs/index.html b/static/bv/index.html index c9d49ce..cecdf44 100644 --- a/static/bs/index.html +++ b/static/bv/index.html @@ -2,16 +2,16 @@ <!DOCTYPE html> <html lang="en"> <head> - <base href="/bs/"> + <base href="/bv/"> <link rel="stylesheet" href="bracket.css"> <link rel="icon" type="image/png" href="bc-favicon.png"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>[Bracket Shitty]</title> - <meta name="description" content="Bracket Shitty is a nested clue puzzle game."> + <title>[Bracket Village]</title> + <meta name="description" content="Bracket Village is a nested clue puzzle game."> <!-- Open Graph meta tags --> - <meta property="og:title" content="Bracket Shitty" /> - <meta property="og:description" content="come visit bracket shitty" /> + <meta property="og:title" content="Bracket Village" /> + <meta property="og:description" content="come visit bracket village" /> <meta property="og:image" content="https://bracket.city/bc-postcard.jpg" /> <meta property="og:url" content="https://bracket.city/" /> <meta property="og:type" content="website" /> diff --git a/static/bs/puzzleencoder.js b/static/bv/puzzleencoder.js index fcba62c..fcba62c 100644 --- a/static/bs/puzzleencoder.js +++ b/static/bv/puzzleencoder.js diff --git a/static/bs/tutorial/index.html b/static/bv/tutorial/index.html index 11ffbed..ac49d70 100644 --- a/static/bs/tutorial/index.html +++ b/static/bv/tutorial/index.html @@ -1,10 +1,10 @@ <!DOCTYPE html> <html lang="en"> <head> - <base href="/bs/tutorial/" /> + <base href="/bv/tutorial/" /> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Bracket Shitty</title> + <title>Bracket Village</title> <link rel="icon" type="image/png" href="../bc-favicon.png"> <!-- Tutorial CSS --> <link rel="stylesheet" href="tutorial.css"> diff --git a/static/bs/tutorial/tutorial-init.js b/static/bv/tutorial/tutorial-init.js index ade15a5..ba0cc73 100644 --- a/static/bs/tutorial/tutorial-init.js +++ b/static/bv/tutorial/tutorial-init.js @@ -16,7 +16,7 @@ startTutorialMode(); return tutorial; } else { - console.error('Could not find container element for Bracket Shitty tutorial'); + console.error('Could not find container element for Bracket Village tutorial'); return null; } } diff --git a/static/bs/tutorial/tutorial.css b/static/bv/tutorial/tutorial.css index 4f2aff0..4f2aff0 100644 --- a/static/bs/tutorial/tutorial.css +++ b/static/bv/tutorial/tutorial.css diff --git a/static/bs/tutorial/tutorial.js b/static/bv/tutorial/tutorial.js index 26bd261..33f9258 100644 --- a/static/bs/tutorial/tutorial.js +++ b/static/bv/tutorial/tutorial.js @@ -42,7 +42,7 @@ class BracketCityTutorial { // Tutorial guidance messages for each step this.tutorialSteps = [ { - message: "In Bracket Shitty you can solve <strong>any clue</strong> just by submitting an answer<div class='small-break'></div>No need to click, just type the answer to any <span class='spotlight'>highlighted clue</span> and hit enter!<div class='small-break'></div>Keep guessing until you get one!", + message: "In Bracket Village you can solve <strong>any clue</strong> just by submitting an answer<div class='small-break'></div>No need to click, just type the answer to any <span class='spotlight'>highlighted clue</span> and hit enter!<div class='small-break'></div>Keep guessing until you get one!", highlight: "clue" }, { @@ -151,7 +151,7 @@ class BracketCityTutorial { generateHeaderHTML() { return ` <div class="puzzle-header"> - <h1>[Bracket Shitty]</h1> + <h1>[Bracket Village]</h1> <button class="exit-button">X</button> <div class="nav-container"> <div class="puzzle-date">How To Play</div> @@ -315,7 +315,7 @@ class BracketCityTutorial { if (exitButton) { exitButton.addEventListener('click', () => { if (confirm('Are you sure you want to exit the tutorial?')) { - window.location.href = '/bs'; + window.location.href = '/bv'; } }); } @@ -519,8 +519,8 @@ class BracketCityTutorial { */ showHelp() { const helpContent = ` - <div style="text-align: center; font-weight: bold; margin: 0 0 0.5em 0;">Welcome to the Bracket Shitty Tutorial</div> - <div style="margin: 0.9em 0;">* In Bracket Shitty, you solve <mark style="background-color: #fff9c4;">[active clues]</mark> by typing the answers</div> + <div style="text-align: center; font-weight: bold; margin: 0 0 0.5em 0;">Welcome to the Bracket Village Tutorial</div> + <div style="margin: 0.9em 0;">* In Bracket Village, you solve <mark style="background-color: #fff9c4;">[active clues]</mark> by typing the answers</div> <div style="margin: 0.9em 0;">* You can tap any <mark style="background-color: #fff9c4;">[active clue]</mark> to peek at its first letter, or tap again to reveal the full answer</div> <div style="margin: 0.9em 0;">* This tutorial will guide you through the basics</div> <div style="margin: 0.9em 0;">* Tap anywhere to continue</div> @@ -630,7 +630,7 @@ class BracketCityTutorial { <div class="tutorial-completion"> <div class="tutorial-completion-title">🎉 Tutorial Complete! 🎉</div> <div class="tutorial-completion-text">Ready to play the full game?</div> - <button id="playGameButton">Play Bracket Shitty</button> + <button id="playGameButton">Play Bracket Village</button> </div> `; @@ -651,7 +651,7 @@ class BracketCityTutorial { const playButton = this.root.querySelector('#playGameButton'); if (playButton) { playButton.addEventListener('click', () => { - window.location.href = '/bs'; + window.location.href = '/bv'; }); } } |