https://github.com/prozilla/piston-game
A Minecraft-themed minigame where you win the game by using pistons to move a block to its destination.
https://github.com/prozilla/piston-game
Last synced: 10 months ago
JSON representation
A Minecraft-themed minigame where you win the game by using pistons to move a block to its destination.
- Host: GitHub
- URL: https://github.com/prozilla/piston-game
- Owner: Prozilla
- Created: 2022-05-06T09:42:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-07T13:31:14.000Z (about 4 years ago)
- Last Synced: 2025-08-11T00:56:33.951Z (10 months ago)
- Language: Java
- Homepage:
- Size: 238 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Piston-game
A Minecraft-themed minigame where you win the game by using pistons to move a block to its destination.
This game was made with Java Swing.
Normal pistons push blocks directly in front of them. Sticky pistons can both push and pull blocks.
## Gameplay
https://user-images.githubusercontent.com/63581117/167256516-d3a29d91-910b-43fb-816b-10279da16466.mp4
## Levels
Example level:
10 10 10 10 10 10
10 21 40 00 33 10
10 10 10 12 10 10
What it looks like in-game:

Every pair of digits represents a tile, the first digit determines the tile type and the second digit the rotation.
#### Tile types:
0: background tile,
1: foreground tile,
2: piston,
3: sticky piston,
4: movable tile
#### Rotations:
0: up,
1: right,
2: down,
3: left
## To do
- Add long pistons
- Add rotators
- Add gates