Skip to content

Commit 40ef6e5

Browse files
AngelOnFiraozkriff
andauthored
N17: openEtG (#449)
* openEtG December content * N17: openEtG: Fmt tweaks * N17: OpenEtG: Fix section order Co-authored-by: Andrey Lesnikov <ozkriff@gmail.com>
1 parent 0c2a8bc commit 40ef6e5

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

content/posts/newsletter-017/index.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,28 @@ _Somersaults!_
326326
[fn-changelog]: https://gitlab.com/silwol/freenukum/-/blob/main/CHANGELOG.md
327327
[@silwol]: https://chaos.social/@silwol
328328

329+
### [openEtG]
330+
331+
![openEtG login screen](openEtG.jpg)
332+
333+
[openEtG] is an open source engine that is an HTML5 successor to the original
334+
[Elements the Game][Elements], featuring additional cards and balance.
335+
In December, 10k lines of JavaScript source were rewritten in Rust:
336+
337+
> Overall I've been brainstorming this change for a couple years. So I'd already
338+
> shifted from a classical OOP mess with Shield/Weapon/Pillar inheriting from
339+
> Permanent to one where everything is a Thing. This also made sense because in
340+
> openEtG there's spells like Flying Weapon which convert the player's weapon
341+
> into a creature. So before I'd create a new Creature filled in with stats from
342+
> original weapon, whereas now it's mostly just moving the instance into a
343+
> creature slot & updating its type tag.
344+
345+
You can read the full openEtG December writeup [here][openEtG-writeup].
346+
347+
[openEtG]: https://etg.dek.im
348+
[Elements]: http://elementsthegame.com
349+
[openEtG-writeup]: https://reddit.com/r/rust/comments/k3jy5g/i_rewrote_10k_lines_of_js_into_rust
350+
329351
### [Weegames][weegames-itch]
330352

331353
![Four Weegames minigames](weegames.jpg)
151 KB
Loading

0 commit comments

Comments
 (0)