Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 javafx
Last synced: 4 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 (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2024-08-25T15:15:33.000Z (5 months ago)
- Last Synced: 2024-08-26T15:18:41.138Z (5 months ago)
- Topics: cellular-automata, desktop-app, game, java, javafx
- 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
![Github All Releases](https://img.shields.io/github/downloads/mattwright324/jpowder-game/total.svg?style=flat-square)
![GitHub release](https://img.shields.io/github/release/mattwright324/jpowder-game.svg?style=flat-square)
![Github Releases](https://img.shields.io/github/downloads/mattwright324/jpowder-game/latest/total.svg?style=flat-square)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)
![Preview](./README_preview.png)
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
[![GitHub Releases](https://img.shields.io/badge/downloads-releases-brightgreen.svg?maxAge=60&style=flat-square)](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
```