An open API service indexing awesome lists of open source software.

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.

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:

![In-game screenshot of the level above](https://user-images.githubusercontent.com/63581117/167123795-9970f8f0-8a8a-405b-9841-70f904f74ab4.png)

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