Starting game development in JavaScript with no experience
Link: https://jslegenddev.substack.com/p/how-to-start-making-games-in-javascript
Discussion: https://news.ycombinator.com/item?id=44947276

Starting game development in JavaScript with no experience
Link: https://jslegenddev.substack.com/p/how-to-start-making-games-in-javascript
Discussion: https://news.ycombinator.com/item?id=44947276
JavaScript should be marked as a safety threat and removed from the web standards.
OK, so here’s likely the simplest possible example demonstrating:
• The same route, implemented as both a Kitten JavaScript Page (.page.js) and as a Kitten Markdown Page (.page.md)
• How to persist to the default Kitten JSDB¹ database.
(That first line with the nullish coalescing operator creates a “table” on the database with a default value for the count if it doesn’t already exist.)
Coming soon (likely this afternoon, I’m writing tests and docs and updating examples as we speak)…
This is the sort of thing you’ll be able to do with Markdown pages. Just pop any arbitrary JavaScript you want in the new script block in the front matter and then import and use components as well as plain old JavaScript tagged template variable interpolation (not shown in this example) inside your Markdown.
The screen has all the code (sans the end of the last line of CSS and the closing tags for the <style> and <div> in the Reactions component, which I couldn’t make fit without reducing the font size) for the example you see in the browser with functional buttons that persist their state to Kitten’s built-in default database.
When I say all the code, I mean all the code. There is no scaffolding. Those two files are the only two files in the project.
Rewriting the Windows section of Kitten’s installation instructions.
Update: it’s live now.
if you haven't explored @deno_land since 2,.0 release and you are a #javascript #webdev I would say it is a great time to re-explore it. Some very nice features. Kudos to the team, looking forward to the fresh 2.0 release when it happens!
If you are familiar with #Ruby and want to help making #Mastodon web available in browsers without #JavaScript, consider implementing any of:
Learning web development: strings and methods in JavaScript
https://2ality.com/2025/08/javascript-strings-methods.html
Eliminating JavaScript cold starts on AWS Lambda
Link: https://goose.icu/lambda/
Discussion: https://news.ycombinator.com/item?id=44922383
Bloody hell, finally, I think I’m done with the Markdown support rewrite in Kitten.
The Markdown rule for interpreting four spaces as code fences has been the biggest pain in my neck during this whole ordeal but, bitching aside, it means the parser is now more accurate and thus stronger for it.
If all goes well, expect a Monday release :)
A002476: Primes of the form 6m + 1
3D graph, threejs - webGL https://decompwlj.com/3Dgraph/A002476.html
3D graph Gen, threejs animation https://decompwlj.com/3DgraphGen/A002476.html
2D graph, first 500 terms https://decompwlj.com/2Dgraph500terms/A002476.html
Faceclick: A lightweight Emoji picker with keyword search https://lobste.rs/s/wx7gto #javascript #release
https://ratfactor.com/faceclick/index
A version of Snake only playable with a Microscope.
[Meet Subpixel Snake
]
This Subpixel Snake makes a fine addition to the long legacy of the Snake game originally released in 1998 alongside the Nokia 6110 — if only as the ultimate proof that there really is almost no limit to what you can play this game on.
Структурований курс для практичного вивчення #JavaScript із 126 готовими проєктами та дорожньою картою:
• 30 базових + 96 просунутих проєктів різної складності
• Онлайн-демонстрації та повний вихідний код кожного проєкту
• Ігри, утиліти, анімації та візуалізації алгоритмів
https://github.com/swapnilsparsh/30DaysOfJavaScript
This could be achieved with something like this
#filteredtable tr { display: none }
#filteredtable tr[data-name*=dynamic-value-of(#filterInput)] { display: table-row }
where dynamic-value-of() is a (non-existent) #CSS function that returns the (string) value of #filterInput as it changes dynamically
Since there is not such function, I have to register a #JavaScript function with the keyup event to update the CSS rule whenever the input value changes.
So, can we get rid of JS here?
3/3
Speaking of #webDev, what the #HTML and #CSS standards need is some way to style nodes based on DOM values of other modes. Unless I'm missing something, we still need #JavaScript to achieve the following, but I'm open to recommendations or suggestions about things I might have missed, so let's make this an #askFedi
The intent here is to develop a JS-free “quick filter” over a list or table.
Here's what I've done:
1/n
ICYMI, Here's a little thing from my 20 years in #JavaScript #development: https://github.com/MarquisdeGeek/digraph A library to programmatic generate
#digraph via dot. Also used for a #JetSetWilly #game map #api
EmbedPDF is a framework‑agnostic, MIT‑licensed #PDF viewer that drops into any #JavaScript project ( #React, #Vue, #Svelte, or vanilla).
Our Fight With Oracle Is Getting Crazy…, by @deno_land: