roadroller
kontra
roadroller | kontra | |
---|---|---|
5 | 3 | |
283 | 903 | |
- | - | |
0.0 | 6.9 | |
almost 2 years ago | 4 days ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
roadroller
- Mini Metroidvania in 13KB of JavaScript
-
Show HN: Micro LZMA decoder (x86 assembly code golf)
Crinkler [1] is a popular compressor-linker for 1--8 KB demos and its decompressor (partially embedded in a PE header) is probably around 1--200 bytes. Later efforts like oneKpaq [2] also have a comparable decompressor size.
If you don't mind a shameless plug and a slightly larger decompressor (about 500 bytes in JS) for better compression, my Roadroller [3] might fit the bill as well.
[1] https://github.com/runestubbe/Crinkler
[2] https://github.com/temisu/oneKpaq
[3] https://lifthrasiir.github.io/roadroller/
-
Game Boy Wordle clone: How to compress 12972 five-letter words to 17871 bytes
Roadroller [1] is probably a borderline general purpose compression algorithm, and with some automatic parameter tuning it results in 12,170 bytes estimated [2], at the expense of a lot of memory. "Estimated" because the algorithm was originally meant to be recompresssed in a ZIP file, so it doesn't bother to generate the smallest JS file in terms of uncompressed size (yet).
[1] https://lifthrasiir.github.io/roadroller/ (the exact parameters: golf.horse dataset; input mode text; action write to document; # contexts 12 with 12,15,49,50,70,79,96,97,131,154,292,353; pollute the global scope; max memory usage 150 MB; precision 16; learning rate 1333; model max count 11; model base divisor 14; dynamic model flags -1; # abbreviations 64)
-
Cat Goric: Escape from the Warp Chamber - Post-Mortem
And compressed final code even more with Roadroller (reduced 1.3 KB in the zip). And used ECT to recompress the zip (reduced 300 KB).
-
Q1K3
I'm honored that Q1K3, in addition to many other entries to js13kGames 2021, is compresed with Roadroller [1], which is the reason that its source code is basically a random-looking string plus some bit of JS code.
[1] https://github.com/lifthrasiir/roadroller/
kontra
-
JS13kGames: a game jam under 13kB
https://straker.github.io/kontra/ Kontra is a lightweight JavaScript gaming micro-library specially optimized to be used for the js13kGame competition. Kontra aims to implement basic game components like asset loading, user inputs, loading loops, and sprites. This allows developers to spend less time worrying about smaller components and only focus on their personal game designs.
-
Cat Goric: Escape from the Warp Chamber - Post-Mortem
I was still in doubt about using Kontra or Replay as the game engine. Still, in the end, I decided to use Kontra for having more built-in features I needed, and also because I had used it in a previous js13k game.
-
Build a tiny game for JS13K with Kontra.js
If you've never done anything like this, or even coded much JavaScript before, it can be a little intimidating. Here's a quick little tutorial how to build this suh-weeet game using Kontra.js (a tiny game library made just for JS13) plus a few lines of code:
What are some alternatives?
js13k-2021 - Game created for the Js13kGames competition from 2021.
aseprite - Animated sprite editor & pixel art tool (Windows, macOS, Linux)
wordle - Finding optimal play in the game of wordle
piskel - A simple web-based tool for Spriting and Pixel art.
gb-wordyl - A word game for the Nintendo Game Boy / Color, Analogue Pocket, Mega Duck
React - The library for web and native user interfaces.
wasmboy - Game Boy / Game Boy Color Emulator Library, 🎮written for WebAssembly using AssemblyScript. 🚀Demos built with Preact and Svelte. ⚛️
node-bestzip - Provides a `bestzip` command that uses the system `zip` if avaliable, and a Node.js implimentation otherwise.
q1k3 - A tiny FPS for js13k
mish-lee-13k - Companion code for DEV.to article on building tiny games for JS13K with Kontra.js.
wordle-trie-packing - Wordle clones are everywhere, but who is thinking about the bandwidth?