web-assembly-rust-typescript-template
elara
web-assembly-rust-typescript-template | elara | |
---|---|---|
1 | 2 | |
14 | 73 | |
- | - | |
0.0 | 9.4 | |
over 1 year ago | 20 days ago | |
TypeScript | TypeScript | |
- | GNU General Public License v3.0 or later |
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.
web-assembly-rust-typescript-template
-
WebAssembly + Rust + TypeScript project setup
web-assembly-rust-typescript-template
elara
- Elara: A Free Coding Game
-
Show HN: Elara- A free open-source coding game built with Rust and WebAssembly
I'm excited to share a project that I've been working on mostly solo for the past year! It's called Elara, and it's a free open source game that teaches you how to code. You can play directly in your browser without downloading anything or creating an account. It's targeted toward complete beginners, but if you already have some coding experience, there are optional bonus challenges to really test your knowledge and problem-solving skills. If you like code golf, some of the challenges will be right up your alley ;)
Under the hood, the backend/core game logic is built with Rust and compiled to WebAssembly, and the frontend/UI is in TypeScript and React. In-game, you write code in Rhai, a scripting language tightly integrated with Rust. I chose this architecture for a few reasons: it offers good performance for compiling and running user code, has important sandboxing/safety guarantees like preventing infinite loops, and means the entire game can run in-browser without the need for any servers (aside from just serving static files). Keeping costs low was really important since the game is 100% free and I would like to keep it that way. Check it out and let me know what you think! I'll be checking back here periodically to answer any questions.
The full source code is available on GitHub: https://github.com/albrow/elara.
What are some alternatives?
blurhash-to-css - Convert a BlurHash to a CSS Object using TypeScript, Rust, and WebAssembly.
coderover-js - Implementation of my coderover programming sandbox in Scala.js
wasup - A zero-dependency, isomorphic library for emitting WebAssembly
noita-tools - A collection of tools for Nolla Game's Noita that help get insight into seeds and find ones with special constraints.
wasm4 - Build retro games using WebAssembly for a fantasy console.
drg-completionist - DRG Completionist is a free, open-source online progress tracker for Deep Rock Galactic. It's designed to help keep track of all the different overclocks and cosmetics available for hard-working employees like yourselves, as well as to serve as an handy reference for overclock data.
LiveSplitOne - A version of LiveSplit that works on a lot of platforms.
harmony - An experiment with WebAssembly ✨ Harmony brings Git in your browser! Create and/or modify local files, on the fly, in your browser. Use git branches and commits to track them.
create-near-app - Create a starter app hooked up to the NEAR blockchain
pdx-tools - View maps, graphs, and tables of your save and compete in a casual, evergreen leaderboard of EU4 achievement speed runs. Upload and share your save with the world.