From 44f6e2a6f5df964b822cd69524dfdc14653181ed Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 8 Feb 2022 12:38:13 -0500 Subject: [PATCH] add wordle and update bighomes.txt --- bighomes.txt | 100 +++++++++---------- mypages.php | 6 +- pin/rightbrain.txt | 4 +- ttbp/index.html | 1 + wordle/images/wordle_logo_192x192.png | Bin 0 -> 4638 bytes wordle/images/wordle_logo_32x32.png | Bin 0 -> 888 bytes wordle/images/wordle_og_1200x630.png | Bin 0 -> 24159 bytes wordle/index.html | 132 ++++++++++++++++++++++++++ wordle/main.e65ce0a5.js | 16 ++++ wordle/manifest.json | 16 ++++ 10 files changed, 222 insertions(+), 53 deletions(-) create mode 100644 wordle/images/wordle_logo_192x192.png create mode 100644 wordle/images/wordle_logo_32x32.png create mode 100644 wordle/images/wordle_og_1200x630.png create mode 100644 wordle/index.html create mode 100644 wordle/main.e65ce0a5.js create mode 100644 wordle/manifest.json diff --git a/bighomes.txt b/bighomes.txt index 34282e2..c7eb21b 100644 --- a/bighomes.txt +++ b/bighomes.txt @@ -1,70 +1,70 @@ --- /home ----------------------------------------------------------- - 12.1 GiB [##########] /khuxkm - 9.3 GiB [####### ] /blakesmith - 7.3 GiB [###### ] /lohn - 4.7 GiB [### ] /x0rzavi - 4.4 GiB [### ] /slip - 3.8 GiB [### ] /tomasino - 3.7 GiB [### ] /travankor - 3.6 GiB [## ] /pratch - 3.5 GiB [## ] /danielscode - 3.3 GiB [## ] /level3 + 10.9 GiB [##########] /blakesmith + 8.0 GiB [####### ] /khuxkm + 7.4 GiB [###### ] /lohn + 5.5 GiB [##### ] /perosar + 3.8 GiB [### ] /travankor + 3.6 GiB [### ] /jan6 + 3.6 GiB [### ] /pratch + 3.5 GiB [### ] /danielscode + 3.3 GiB [### ] /level3 3.3 GiB [## ] /nimbius 3.1 GiB [## ] /tunas - 2.7 GiB [## ] /jan6 2.5 GiB [## ] /pat - 2.4 GiB [## ] /bh + 2.2 GiB [## ] /brendantcc 2.2 GiB [# ] /epi 2.0 GiB [# ] /alrs - 2.0 GiB [# ] /praetor - 1.9 GiB [# ] /job + 2.0 GiB [# ] /what 1.9 GiB [# ] /stu 1.8 GiB [# ] /karx - 1.7 GiB [# ] /edwardthefma + 1.6 GiB [# ] /rany + 1.6 GiB [# ] /rehhouari + 1.6 GiB [# ] /tomasino 1.4 GiB [# ] /biglysmalls - 1.4 GiB [# ] /kiedtl 1.3 GiB [# ] /lp0 - 1.3 GiB [# ] /rehhouari 1.3 GiB [# ] /kus - 1.2 GiB [# ] /aewens - 1.1 GiB [ ] /hackintech - 1.1 GiB [ ] /terris - 1.1 GiB [ ] /zyeri + 1.2 GiB [# ] /kiedtl + 1.1 GiB [# ] /thekingofbandit + 1.1 GiB [# ] /mwt + 1.1 GiB [# ] /terris + 1.1 GiB [# ] /zyeri + 1.1 GiB [ ] /xfnw 1.0 GiB [ ] /jakew - 1.0 GiB [ ] /xfnw + 1.0 GiB [ ] /bkembo + 970.2 MiB [ ] /steve 953.8 MiB [ ] /quantumm + 935.4 MiB [ ] /slip 919.2 MiB [ ] /murii - 906.2 MiB [ ] /peter - 871.0 MiB [ ] /anelki - 791.9 MiB [ ] /barrow + 907.3 MiB [ ] /peter + 892.3 MiB [ ] /barrow + 843.9 MiB [ ] /ben + 834.4 MiB [ ] /hackintech + 817.3 MiB [ ] /genvara + 816.5 MiB [ ] /julian + 808.9 MiB [ ] /g1n 786.6 MiB [ ] /jfaust - 779.6 MiB [ ] /ben - 778.9 MiB [ ] /vex + 781.9 MiB [ ] /vex 775.1 MiB [ ] /serif - 687.3 MiB [ ] /gorniak - 648.1 MiB [ ] /rany - 625.2 MiB [ ] /arne - 618.8 MiB [ ] /supernova - 607.6 MiB [ ] /genvara - 603.1 MiB [ ] /cren - 602.5 MiB [ ] /hedy - 574.6 MiB [ ] /drwasabi + 775.0 MiB [ ] /emerson + 771.5 MiB [ ] /cherryblossom + 770.4 MiB [ ] /job + 703.0 MiB [ ] /evn + 701.1 MiB [ ] /gorniak + 689.2 MiB [ ] /aprilnightk + 638.0 MiB [ ] /cren + 626.6 MiB [ ] /arne + 601.7 MiB [ ] /bdju + 597.2 MiB [ ] /drowsyivy 569.3 MiB [ ] /hazel + 559.6 MiB [ ] /aewens + 524.8 MiB [ ] /cmccabe 521.9 MiB [ ] /gappleto97 - 504.8 MiB [ ] /cmccabe - 490.4 MiB [ ] /evn - 477.4 MiB [ ] /xdrixxyz + 510.5 MiB [ ] /novaburst + 489.7 MiB [ ] /prisonpotato + 487.8 MiB [ ] /apple + 487.3 MiB [ ] /xdrixxyz + 475.1 MiB [ ] /hedy + 473.2 MiB [ ] /drwasabi 470.6 MiB [ ] /sebboh - 457.8 MiB [ ] /lowkey - 452.9 MiB [ ] /roesch - 448.7 MiB [ ] /apple - 435.8 MiB [ ] /dot - 434.7 MiB [ ] /thekingofbandit - 426.2 MiB [ ] /webarchitect - 420.6 MiB [ ] /vic - 419.7 MiB [ ] /jmmartin - 412.2 MiB [ ] /drowsyivy - 409.5 MiB [ ] /threkk - 405.0 MiB [ ] /zack - Total disk usage: 143.6 GiB Apparent size: 140.7 GiB Items: 4242891 + Total disk usage: 148.7 GiB Apparent size: 146.7 GiB Items: 4670627 diff --git a/mypages.php b/mypages.php index b070e0a..4e2fbd6 100644 --- a/mypages.php +++ b/mypages.php @@ -16,6 +16,10 @@ $links = [ "href" => "soli/", "icon" => "gamepad" ], + "wordle (archival edition)" => [ + "href" => "wordle/", + "icon" => "sticky-note" + ], "webfont mirror" => [ "href" => "fonts/", "icon" => "font" @@ -48,7 +52,7 @@ $links = [ "href" => "podcasts/", "icon" => "microphone" ], - "suckless (more?)" => [ + "suckless (more)" => [ "href" => "suckmore/", "icon" => "globe" ], diff --git a/pin/rightbrain.txt b/pin/rightbrain.txt index 1021f00..a3ad2c4 100644 --- a/pin/rightbrain.txt +++ b/pin/rightbrain.txt @@ -2,7 +2,6 @@ ADDAM'S FAMILY APOLLO BIG GAME BIG GUNS -COMET CYCLONE ELVIRA FUNHOUSE @@ -10,8 +9,8 @@ FISH TALES GODZILLA HERCULES HOOK -JURASSIC LED ZEPPELIN +MANDALORIAN ROTATION VIII SILVERBALL SINBAD @@ -23,3 +22,4 @@ STAR WARS TRIL TAXI TERMINATOR2 THE BEATLES +X-FILES diff --git a/ttbp/index.html b/ttbp/index.html index 8ade2f5..eb778a3 100644 --- a/ttbp/index.html +++ b/ttbp/index.html @@ -296,6 +296,7 @@ or open a github issue and i'll get back to you as soon as i can.

live feels-sharing:

\n';var Ps=function(e){r(t,e);var a=h(t);function t(){var e;return s(this,t),(e=a.call(this)).attachShadow({mode:"open"}),e}return o(t,[{key:"connectedCallback",value:function(){var e=this;this.shadowRoot.appendChild(Rs.content.cloneNode(!0)),this.shadowRoot.querySelector(".container").addEventListener("click",(function(a){a.stopPropagation(),e.hasAttribute("checked")?e.removeAttribute("checked"):e.setAttribute("checked",""),e.dispatchEvent(new CustomEvent("game-switch-change",{bubbles:!0,composed:!0,detail:{name:e.getAttribute("name"),checked:e.hasAttribute("checked"),disabled:e.hasAttribute("disabled")}}))}))}}],[{key:"observedAttributes",get:function(){return["checked"]}}]),t}(c(HTMLElement));customElements.define("game-switch",Ps);var $s=document.createElement("template");$s.innerHTML='\n \n
\n
\n

Guess the WORDLE in 6 tries.

\n

Each guess must be a valid 5 letter word. Hit the enter button to submit.

\n

After each guess, the color of the tiles will change to show how close your guess was to the word.

\n
\n

Examples

\n
\n
\n \n \n \n \n \n
\n

The letter W is in the word and in the correct spot.

\n
\n
\n
\n \n \n \n \n \n
\n

The letter I is in the word but in the wrong spot.

\n
\n
\n
\n \n \n \n \n \n
\n

The letter U is not in the word in any spot.

\n
\n
\n

A new WORDLE will be available each day!

\n
\n
\n';var Hs=function(e){r(t,e);var a=h(t);function t(){var e;return s(this,t),(e=a.call(this)).attachShadow({mode:"open"}),e}return o(t,[{key:"connectedCallback",value:function(){this.shadowRoot.appendChild($s.content.cloneNode(!0))}}]),t}(c(HTMLElement));customElements.define("game-help",Hs);var Ns=document.createElement("template");Ns.innerHTML="\n \n
\n
\n
\n

\n \n
\n
\n \n
\n
\n
\n');var Ds=function(e){r(t,e);var a=h(t);function t(){var e;return s(this,t),(e=a.call(this)).attachShadow({mode:"open"}),e}return o(t,[{key:"connectedCallback",value:function(){var e=this;this.shadowRoot.appendChild(Ns.content.cloneNode(!0)),this.shadowRoot.querySelector("game-icon").addEventListener("click",(function(a){e.shadowRoot.querySelector(".overlay").classList.add("closing")})),this.shadowRoot.addEventListener("animationend",(function(a){"SlideOut"===a.animationName&&(e.shadowRoot.querySelector(".overlay").classList.remove("closing"),Array.from(e.childNodes).forEach((function(a){e.removeChild(a)})),e.removeAttribute("open"))}))}}]),t}(c(HTMLElement));customElements.define("game-page",Ds);var Gs=document.createElement("template");Gs.innerHTML='\n \n \n \n';var Bs={help:"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",settings:"M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z",backspace:"M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7.07L2.4 12l4.66-7H22v14zm-11.59-2L14 13.41 17.59 17 19 15.59 15.41 12 19 8.41 17.59 7 14 10.59 10.41 7 9 8.41 12.59 12 9 15.59z",close:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",share:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92c0-1.61-1.31-2.92-2.92-2.92zM18 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 13c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm12 7.02c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z",statistics:"M16,11V3H8v6H2v12h20V11H16z M10,5h4v14h-4V5z M4,11h4v8H4V11z M20,19h-4v-6h4V19z"},Fs=function(e){r(t,e);var a=h(t);function t(){var e;return s(this,t),(e=a.call(this)).attachShadow({mode:"open"}),e}return o(t,[{key:"connectedCallback",value:function(){this.shadowRoot.appendChild(Gs.content.cloneNode(!0));var e=this.getAttribute("icon");this.shadowRoot.querySelector("path").setAttribute("d",Bs[e]),"backspace"===e&&this.shadowRoot.querySelector("path").setAttribute("fill","var(--color-tone-1)"),"share"===e&&this.shadowRoot.querySelector("path").setAttribute("fill","var(--white)")}}]),t}(c(HTMLElement));customElements.define("game-icon",Fs);var Ws=document.createElement("template");Ws.innerHTML='\n
\n';var Ys=6e4,Js=36e5,Us=function(e){r(t,e);var a=h(t);function t(){var e;s(this,t),n(p(e=a.call(this)),"targetEpochMS",void 0),n(p(e),"intervalId",void 0),n(p(e),"$timer",void 0),e.attachShadow({mode:"open"});var o=new Date;return o.setDate(o.getDate()+1),o.setHours(0,0,0,0),e.targetEpochMS=o.getTime(),e}return o(t,[{key:"padDigit",value:function(e){return e.toString().padStart(2,"0")}},{key:"updateTimer",value:function(){var e,a=(new Date).getTime(),s=Math.floor(this.targetEpochMS-a);if(s<=0)e="00:00:00";else{var t=Math.floor(s%864e5/Js),o=Math.floor(s%Js/Ys),n=Math.floor(s%Ys/1e3);e="".concat(this.padDigit(t),":").concat(this.padDigit(o),":").concat(this.padDigit(n))}this.$timer.textContent=e}},{key:"connectedCallback",value:function(){var e=this;this.shadowRoot.appendChild(Ws.content.cloneNode(!0)),this.$timer=this.shadowRoot.querySelector("#timer"),this.intervalId=setInterval((function(){e.updateTimer()}),200)}},{key:"disconnectedCallback",value:function(){clearInterval(this.intervalId)}}]),t}(c(HTMLElement));return customElements.define("countdown-timer",Us),e.CountdownTimer=Us,e.GameApp=ts,e.GameHelp=Hs,e.GameIcon=Fs,e.GameKeyboard=us,e.GameModal=ns,e.GamePage=Ds,e.GameRow=x,e.GameSettings=_a,e.GameStats=Os,e.GameSwitch=Ps,e.GameThemeManager=_,e.GameTile=v,e.GameToast=Aa,Object.defineProperty(e,"__esModule",{value:!0}),e}({}); diff --git a/wordle/manifest.json b/wordle/manifest.json new file mode 100644 index 0000000..af320cc --- /dev/null +++ b/wordle/manifest.json @@ -0,0 +1,16 @@ +{ + "short_name": "Wordle", + "name": "Wordle", + "icons": [ + { + "src": "/pub/wordle/images/wordle_logo_192x192.png", + "type": "image/png", + "sizes": "192x192" + } + ], + "start_url": "https://bhh.sh/pub/wordle/", + "background_color": "#6aaa64", + "display": "standalone", + "theme_color": "#6aaa64", + "description": "A daily word game" +}