https://github.com/mattwright324/jpowder-game
A cellular powder game that allows you to play with metal, dust, water, fire, uranium, and more. Inspired by The Powder Toy.
https://github.com/mattwright324/jpowder-game
cellular-automata desktop-app game java java-swing
Last synced: 5 months ago
JSON representation
A cellular powder game that allows you to play with metal, dust, water, fire, uranium, and more. Inspired by The Powder Toy.
- Host: GitHub
- URL: https://github.com/mattwright324/jpowder-game
- Owner: mattwright324
- Created: 2015-04-09T01:56:38.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-08-25T15:15:33.000Z (11 months ago)
- Last Synced: 2025-02-01T17:51:14.611Z (5 months ago)
- Topics: cellular-automata, desktop-app, game, java, java-swing
- Language: Java
- Homepage:
- Size: 581 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#
JPowder


A java cellular automata based on The Powder Toy.
Thread located at [powdertoy.co.uk](http://powdertoy.co.uk/Discussions/Thread/View.html?Thread=19989&PageNum=0)

Keybinding help, the same info can also be enabled on the hud in-game.
| Control | Action |
|---------|------------------------------------------------|
| T | Toggle drawing shape as Circle or Square. |
| F | Update by a single frame. |
| H | Toggle HUD |
| S | Toggle window size. |
| SPACE | Pause & Play |
| [ ] | Change drawing size +- 1 |
| 1 to 4 | View type: Default, Temp, Life Gradient, Fancy |## Download
[](https://github.com/mattwright324/jpowder-game/releases)
Be sure to have at least Java 11 installed.
Extract the latest release zip file and run `jpowder-yyyyMMdd.HHmmss.jar`.
## Build
Use the clean build commands to test a build. Use the run command to build and run.
```sh
$ ./gradlew clean build
$ ./gradlew run
```## Package
Run the package command then zip up the `build/package` folder contents for a release.
```sh
$ ./gradlew packageJar
```