Skip to content

Commit 6688215

Browse files
committed
add screenshot
1 parent 193b5a4 commit 6688215

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed

.github/workflows/publish-binaries.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Publish binaries
33
on:
44
push:
55
tags:
6-
- v1.*
7-
- v1.*.*
6+
- 'v[0-9]+.[0-9]+.[0-9]+'
7+
88

99
permissions:
1010
contents: write

README.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,30 @@
1-
# Conway's Game of Life implemented in OPENRNDR
1+
# Conway's Game of Life in Kotlin / OPENRNDR
22

33
[![Build on commit](https://github.com/hbmartin/openrndr-game-of-life/actions/workflows/build-on-commit.yaml/badge.svg)](https://github.com/hbmartin/openrndr-game-of-life/actions/workflows/build-on-commit.yaml)
4+
[![CodeFactor](https://www.codefactor.io/repository/github/hbmartin/openrndr-game-of-life/badge)](https://www.codefactor.io/repository/github/hbmartin/openrndr-game-of-life)
5+
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=hbmartin_openrndr-game-of-life&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=hbmartin_openrndr-game-of-life)
46

5-
<img src=".idea/icon.svg" width="100" align="right">
7+
<img src=".idea/icon.svg" width="50" align="right">
68

7-
An implementation of Conway's Game of Life using OPENRNDR in Kotlin.
9+
An implementation of [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) using [OPENRNDR](https://openrndr.org/) in Kotlin.
810

11+
Inspired by [Golly](https://golly.sourceforge.io/) and the [Edwin Jakobs KotlinConf talk](https://www.youtube.com/watch?v=GysSoSwmLYo).
12+
13+
<img src="media/screenshot.png" width="800">
914

1015

1116
## Controls
1217
- Draw on the canvas with a mouse to create new life
1318
- Scroll up and down to control generation time
1419
- Press space to pause / resume the simulation
15-
- Press 'esc' to reset current pattern to the initial state
16-
- Press 'r' to reset to a randomly chosen pattern
17-
- Press 'c' to reset to a random canvas
20+
- Press `esc` to reset current pattern to the initial state
21+
- Press `r` to reset to a randomly chosen pattern
22+
- Press `c` to reset to a random canvas
1823
- (TODO) Press 'g' to toggle grid visibility
19-
- Press 's' to save the current state to a file
24+
- Press `s` to save the current state to an RLE / Golly file
2025
- (TODO) Press 'l' to load a state from a file
21-
- Press 'i' to toggle info text (generation # and FPS)
22-
- Press 'q' to quit the program
26+
- Press `i` to toggle info text (generation # and FPS)
27+
- Press `q` to quit the program
2328
- (TODO) Press 'h' to show the help screen
2429
- (TODO) Press 'f' to toggle fullscreen mode
2530

@@ -39,3 +44,6 @@ An implementation of Conway's Game of Life using OPENRNDR in Kotlin.
3944

4045
To create a runnable jar for a platform different from your current platform, use `./gradlew jar -PtargetPlatform=<platform>`, where `<platform>` is either `windows`, `macos`, `linux-x64`, or `linux-arm64`.
4146

47+
## See also
48+
49+
- [Another Openrndr GoL that I found too late](https://github.com/ikolomiets/openrndr-game-of-life)

media/screenshot.png

169 KB
Loading

0 commit comments

Comments
 (0)