LogoHTTP Games

Movement

Traverse dungeon by doing actions as cartographer.

If you haven't obtained a token yet, check out Authentication documentation.

Move Through the Dungeon

The primary way to navigate through the dungeon is by moving your cartographer in one of four cardinal directions. Each move will take you to an adjacent tile, where you might encounter walls, safe ground, traps, or the escape rope.

To move your cartographer, send the following request:

curl \
  -X POST \
  -H 'Authorization: Bearer sk_Guei2HJgU...' \
  -H 'Content-Type: application/json' \
  -d '{
    "direction": "north"
  }' \
  https://api.http-games.almostapps.eu/v1/games/grid-trap/dungeons/[YOUR_DUNGEON_ID]/actions/move

Prop

Type

Crawl Back to Entrance

When your cartographer falls into a trap, they become trapped and cannot move. Your cartographer will need to crawl back to the dungeon entrance to continue your escape attempt.

Crawling is not available in hardcore mode. In hardcore dungeons, falling into a trap ends the game immediately.

To crawl back to the entrance after falling into a trap, send the following request:

curl \
  -X POST \
  -H 'Authorization: Bearer sk_Guei2HJgU...' \
  https://api.http-games.almostapps.eu/v1/games/grid-trap/dungeons/[YOUR_DUNGEON_ID]/actions/crawl

Climb the Rope to Escape

The ultimate goal in GridTrap is to reach the rope tile and climb it to escape the dungeon. You can only climb when your cartographer is positioned exactly on the rope tile.

To climb the rope and escape the dungeon, send the following request:

curl \
  -X POST \
  -H 'Authorization: Bearer sk_Guei2HJgU...' \
  https://api.http-games.almostapps.eu/v1/games/grid-trap/dungeons/[YOUR_DUNGEON_ID]/actions/climb