15 tile picture puzzle game I made a long time ago. It was hosted on a file upload website called Omplaoder. This site allowed for rendering HTML files. Was kinda cool.
Demo: https://puzzle.qot.nz/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| snake. use arrow keys. mouse over to prevent scrolling. | |
| Claude made it. Maybe has touch support. | |
| <canvas id="snake" width="500" height="375" style="border:2px solid #666"></canvas> | |
| <script> | |
| ((cellSize, gameActive, score, rand, _fillStyle, _fillRect, _fillText, _changedTouches, _clientX, _clientY, canvas, ctx, snake, direction, food, touchX, touchY, randomizeFood, draw, reset, handleKey, isHovering) => { | |
| canvas = document.getElementById('snake'); | |
| ctx = canvas.getContext('2d'); | |
| ctx.textBaseline = 'top'; | |
| randomizeFood = (limit=5) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Hover mouse over canvas to allow keyboard input. | |
| Use arrow keys to play. | |
| Someone else can add touch controls (see window.Tetris). | |
| <canvas id="tetris" style="border: solid 1px #000; background: #eee" width="200" height="400"></canvas> | |
| <script> | |
| (($Window, $Document, _m_addEventListener, _m_preventDefault, _m_forEach, _prop_$canvas, _prop_score, _prop_board, _prop_piece, _const_COLS, _const_ROWS, _const_SHAPES, _const_COLORS, _const_ROW_SCORE) => { | |
| class Tetris { | |
| static I = {}; | |
| constructor(selector) { | |
| if (Tetris.I[selector]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (( | |
| $Document, | |
| _str_createElement, | |
| _str_addEventListener, | |
| _str_preventDefault, | |
| _str_input, | |
| _str_drawTools, | |
| _str_strokeStyle, | |
| _str_color, | |
| _str_range, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (( | |
| _state_pens, | |
| $Document, | |
| Points, | |
| Id, | |
| _str_mouse, | |
| _str_touch, | |
| _str_click, | |
| _str_move, | |
| _str_over, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const start = new Date(); | |
| const characters = 'abcdefghijklnopqrstuvwxyz0123456789'; | |
| const valid = new Set(); | |
| const invalid = new Set(); | |
| for (let a = 0; a < characters.length; a++) { | |
| for (let b = 0; b < characters.length; b++) { | |
| for (let c = 0; c < characters.length; c++) { | |
| for (let d = 0; d < characters.length; d++) { | |
| const word = characters[a] + characters[b] + characters[c] + characters[d]; |
A bash script to replace the background with a single colour and resize the image to square.
Uses background remover and ImageMagick.
I hereby claim:
- I am jason-s13r on github.
- I am master5o1 (https://keybase.io/master5o1) on keybase.
- I have a public key whose fingerprint is 943F 643F 3D22 A79E AB07 85D2 4773 2B7C A17C F5FD
To claim this, I am signing this object:
I have made a news aggregator that uses Declutter to scraper article content.
It is based on a friend's reddit/hackernews/tildes aggregator which he called QotNews.
I extended the feeds to be able to use sitemaps or category pages from arbitrary websites, as well as substack publications. This means that any news site can be brought into the list of articles. I replaced the react client with a ui based on Svelte, because that seemed like a cool thing to do.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| V | |
| SLOWPOKE PERSIAN | |
| L H I | |
| FARFETCH'D Y D S D VENONAT | |
| O PIDGEOTTO E I I | |
| BEFRIEND N E A W L D C | |
| A B BOOP Y R MAGNEMITE O H | |
| T R Mr.MIME O A P R A | |
| SEADRA NATTY PAUL GLOOM I N G CLEFAIRY VICTREEBEL | |
| HODL U L FARM B B WEEZING M U N M |
NewerOlder