Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.91 KB

PushAndPull.md

File metadata and controls

44 lines (34 loc) · 1.91 KB

Variation: Push&Pull

Example Game 1 Example Game 2 Example Game 3
Game 1 Game 2 Game 3

1. Idea

This variation follows the same rules as the regular game with on exception: The player can not only push boxes, but also pull the boxes. Because of that, the number of available actions increase to 13. The action mapping is the following.

Action ID
No Operation 0
Push Up 1
Push Down 2
Push Left 3
Push Right 4
Move Up 5
Move Down 6
Move Left 7
Move Right 8
Pull Up 9
Pull Down 10
Pull Left 11
Pull Right 12

The conditions for winning do not change. Also the room generation algorithm is the same as before.

2. Room Configurations

Similar to the regular game there exist multiple room configurations, but TinyWorld configurations.

Room Id Grid-Size Pixels #Boxes Example
PushAndPull-Sokoban-v0 10x10 160x160 3 PushAndPull-Sokoban-v0
PushAndPull-Sokoban-v1 10x10 160x160 4 PushAndPull-Sokoban-v1
PushAndPull-Sokoban-v2 7x7 112x112 2 PushAndPull-Sokoban-v2
PushAndPull-Sokoban-v3 7x7 112x112 3 PushAndPull-Sokoban-v3
PushAndPull-Sokoban-v4 13x11 208x176 4 PushAndPull-Sokoban-v4
PushAndPull-Sokoban-v5 13x11 208x176 5 PushAndPull-Sokoban-v5