Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions content/posts/newsletter-017/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,28 @@ _Somersaults!_
[fn-changelog]: https://gitlab.com/silwol/freenukum/-/blob/main/CHANGELOG.md
[@silwol]: https://chaos.social/@silwol

### [openEtG]

![openEtG login screen](openEtG.jpg)

[openEtG] is an open source engine that is an HTML5 successor to the original
[Elements the Game][Elements], featuring additional cards and balance.
In December, 10k lines of JavaScript source were rewritten in Rust:

> Overall I've been brainstorming this change for a couple years. So I'd already
> shifted from a classical OOP mess with Shield/Weapon/Pillar inheriting from
> Permanent to one where everything is a Thing. This also made sense because in
> openEtG there's spells like Flying Weapon which convert the player's weapon
> into a creature. So before I'd create a new Creature filled in with stats from
> original weapon, whereas now it's mostly just moving the instance into a
> creature slot & updating its type tag.

You can read the full openEtG December writeup [here][openEtG-writeup].

[openEtG]: https://etg.dek.im
[Elements]: http://elementsthegame.com
[openEtG-writeup]: https://reddit.com/r/rust/comments/k3jy5g/i_rewrote_10k_lines_of_js_into_rust

### [Weegames][weegames-itch]

![Four Weegames minigames](weegames.jpg)
Expand Down
Binary file added content/posts/newsletter-017/openEtG.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.