An open API service indexing awesome lists of open source software.

https://github.com/ivanyu/life-scalajs

Conway's Game of Life in Scala.js and Scala.rx
https://github.com/ivanyu/life-scalajs

game-of-life scalajs

Last synced: 3 months ago
JSON representation

Conway's Game of Life in Scala.js and Scala.rx

Awesome Lists containing this project

README

          

# life-scalajs
A simple implementation of [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) simulator with [Scala.js](http://www.scala-js.org/) and [Scala.rx](https://github.com/lihaoyi/scala.rx).

Created just for fun by [Ivan Yurchenko](https://ivanyu.me/).

[See it in action](https://ivanyu.github.io/life-scalajs).

[![Scala.js](https://www.scala-js.org/assets/badges/scalajs-0.6.8.svg)](https://www.scala-js.org)

![Demo](demo.gif)

# Build and run

Type

```
$ sbt ~fastOptJS
```

and open [http://localhost:12345/target/scala-2.11/classes/index-dev.html](http://localhost:12345/target/scala-2.11/classes/index-dev.html) in your browser.

Use

```
$ sbt fullOptJS
```

and `target/scala-2.11/classes/index.html` for a fully optimized version.

# License
MIT, see LICENSE