Skip to content

N17: openEtG #449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 13, 2021
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.