Add pushable crates #7

Open
opened 2020-03-26 20:17:53 +00:00 by Codinget · 0 comments
Owner

Crates are basically pushable tiles. When you hit a crate, the game checks for the next adjacent tile to it. If the tile is a hole, the crate despawns. If the tile is empty, the crate is relocated there. If the tile is a portal, the check is called recursively through the portal. Il all other cases, the snake dies.

Crates are basically pushable tiles. When you hit a crate, the game checks for the next adjacent tile to it. If the tile is a hole, the crate despawns. If the tile is empty, the crate is relocated there. If the tile is a portal, the check is called recursively through the portal. Il all other cases, the snake dies.
Codinget added the
enhancement
label 2020-03-26 20:17:53 +00:00
Codinget self-assigned this 2020-03-26 20:17:53 +00:00
Codinget added this to the Puzzle mode milestone 2020-04-06 13:47:59 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Codinget/Snek#7
No description provided.