# Blog Post: Lisp Game Jam - "Wireworld" - Hoot's low level WASM tooling in action

**URL:** <https://community.spritely.institute/t/blog-post-lisp-game-jam-wireworld-hoots-low-level-wasm-tooling-in-action/268>\
**Category:** Agency & Applications\
**Tags:** ui, wasm, agency\
**Created:** [June 12, 2023, 7:26pm UTC](https://community.spritely.institute/t/blog-post-lisp-game-jam-wireworld-hoots-low-level-wasm-tooling-in-action/268 "2023-06-12T19:26:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![frandallfarmer](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.spritely.institute/frandallfarmer/32/3_2.png) [@frandallfarmer](https://community.spritely.institute/u/frandallfarmer)\
**Post date:** [June 12, 2023, 7:26pm UTC](https://community.spritely.institute/t/blog-post-lisp-game-jam-wireworld-hoots-low-level-wasm-tooling-in-action/268/1 "2023-06-12T19:26:17Z")

</div>

![Wireworld + splash screen](https://canada1.discourse-cdn.com/flex030/uploads/spritely/original/1X/ce4b5af71c12ce885973c5e5feac686def963f2b.gif)

This blogpost focuses on our second [Spring Lisp Game Jam 2023](https://itch.io/jam/spring-lisp-game-jam-2023) entry, [wasm4-wireworld](https://gitlab.com/spritely/wasm4-wireworld/), an implementation of [Wireworld](https://en.wikipedia.org/wiki/Wireworld) on top of [Hoot](https://gitlab.com/spritely/guile-hoot)’s lower-level assembly tools which are a part of our [Guile → WASM](https://spritely.institute/news/guile-on-web-assembly-project-underway.html) project to bring [Spritely Goblins](https://spritely.institute/goblins/)-powered distributed applications to the common web browser.

For our entry, we targeted [WASM-4](https://wasm4.org/), a “fantasy console” which uses low-level WebAssembly constructs.

In fact, if you see the animated “wireworld” splash screen at the top of this article, that’s running wasm-wireworld itself… you can even [run it live in your browser](https://spritely.institute/static/embed/wireworld-splash.wasm4.html)!

## A brief intro to Wireworld

The real point of this blogpost isn’t Wireworld itself, but how Hoot enabled making this Wireworld demo. So we’re going to walk into how Hoot turned out to be an incredible toolkit to build this game jam entry, but first let’s talk about Wireworld to give some more context!

Wireworld is a powerful cellular automata, categorically similar to [Conway’s Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life). Unlike Life, Wireworld’s paths are fixed: “electrons” flow upon copper wires. The rules of Wireworld are very simple:

- Blank tiles remain blank
- Electron heads always become electron tails
- Electron tails always become copper
- Copper stays copper, _unless_ there are one or two electron heads in any cardinal direction, in which case it becomes an electron head

That’s it! Despite that simplicity, this leads to powerful emergent behavior. Electron head and tail pairs appear to “flow” fluidly upon copper wires and can branch easily. But we can also make “generators” and diodes that only permit electrons to flow in one direction and not another:

![Wireworld + intro](https://canada1.discourse-cdn.com/flex030/uploads/spritely/original/1X/2cd9664fb0510b2293b1599828ed7f6c81442096.gif)

([Try it live!](https://spritely.institute/static/embed/wireworld-intro.wasm4.html))

These rules result in behavior which permits visually stunning examples, many of which even _look_ like computational circuitry.

* * *

Read the rest and _ **play with our web-embedded WASM** _ on the blog:

> **[Lisp Game Jam - "Wireworld" - Hoot's low level Wasm tooling in action —...](https://spritely.institute/news/hoot-wireworld-live-in-browser.html)**

---

<div class="post-metadata">

**Author:** ![frandallfarmer](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.spritely.institute/frandallfarmer/32/3_2.png) [@frandallfarmer](https://community.spritely.institute/u/frandallfarmer)\
**Post date:** [June 13, 2023, 6:03pm UTC](https://community.spritely.institute/t/blog-post-lisp-game-jam-wireworld-hoots-low-level-wasm-tooling-in-action/268/2 "2023-06-13T18:03:21Z")

</div>

This post is drawing a record number of people to our blog/website!

The magic of having something awesome enough to spend some time on page 1 of HackerNews…
