Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ijsbol/thegameoflifejava

The Game of Life but programmed in Java
https://github.com/ijsbol/thegameoflifejava

conways-game-of-life gameoflife java java-8 jframe

Last synced: 2 days ago
JSON representation

The Game of Life but programmed in Java

Awesome Lists containing this project

README

        

# TheGameOfLifeJava
The Game of Life but programmed in Java

## Controls
- Click to change the alive/dead state of a cell.
- Drag to change the alive/dead state of many cells to the inverse of the state of the first cell you clicked.

## Key binds
|Key|Action|
|--|--|
|`SPACE BAR`|Start the simulation.|
|`TAB KEY`|Pause the simulation.|
|`R KEY`|Randomly replace all of the cells with alive/dead ones.|
|`S KEY`|Step through one generation.|
|`Q KEY`|Enable rainbow mode.|
|`W KEY`|Disable rainbow mode.|
|`O KEY`|Enable neighbour-deterministic cell colouring.|
|`P KEY`|Enable neighbour-deterministic cell colouring.|

## Demo
![img](https://i.imgur.com/TXJWuP1.gif)

## All the GameOfLifes I've made.
|Language|Repo link|
|--|--|
|Python|https://github.com/Scrumpyy/TheGameOfLifePython|
|Java|https://github.com/Scrumpyy/TheGameOfLifeJava|
|Javascript|https://github.com/Scrumpyy/TheGameOfLifeJavascript|
|PythonSpeedRefactor|https://github.com/Scrumpyy/TheGameOfLifePythonSpeedRefactor|