Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ijsbol/thegameoflifejava
- Owner: ijsbol
- License: mit
- Created: 2023-03-24T22:33:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-08T16:32:29.000Z (almost 2 years ago)
- Last Synced: 2025-01-01T00:25:52.164Z (8 days ago)
- Topics: conways-game-of-life, gameoflife, java, java-8, jframe
- Language: Java
- Homepage:
- Size: 28.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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|