Tak Gameplay Example

Description

Tak is a two-player abstract strategy board game where players aim to build a continuous road connecting two opposite edges of the board while blocking their opponent's attempts. The game involves placing and moving pieces of various types—Flat Stones, Standing Stones (Walls), and Capstones—each with unique abilities.

Action Space

Actions are strings representing moves in a specific format: [action source allocation]

Example Actions:

  • Place a flat stone: [place () {(0,1):[F0]}
  • Move a standing stone: [move (0,1) {(1,1):[W1]}
  • Move multiple stones: [move (2,2) {(2,3):[F0,F1], (2,4):[F0]}

Observation Space

Players receive detailed game state information, including board layout, piece positions, and available moves.

Initial Game Instructions

[GAME] You are Player 0. You are playing the Tak game.
Your goal is to connect two opposite edges of the board with your pieces to form a road while blocking your opponent from doing the same.
You can perform the following actions on your turn:
- Place a piece on an empty square.
- Move a stack of pieces from one square to one or more squares. You can stack your pieces on top of other pieces on the target square. The topmost piece determines ownership of the stack.
- Split a stack of pieces into two or more stacks and distribute them to adjacent squares.
- Flatten a wall stone into a flat stone using your capstone.
- Place a Capstone on an empty square.
- Move a Capstone from one square to one or more squares. A capstone can also flatten a wall stone during its move.

Board State Example

        0       1       2       3  
     -------------------------------
  0 | (1) F0 |       |       |       |
     -------------------------------
  1 |       |       |       |       |
     -------------------------------
  2 |       |       |       |       |
     -------------------------------
  3 |       |       |       |       |
     -------------------------------

Gameplay

Piece Types

  • Flat Stone (F):
    • Forms part of a road
    • Can be stacked on other pieces
    • Can have other pieces stacked on it
  • Wall Stone (W):
    • Blocks roads
    • Cannot be part of a road
    • Can be flattened by a capstone
  • Capstone (C):
    • Acts as a flat stone for roads
    • Can flatten wall stones
    • Always remains on top of stacks
    • Cannot be covered by other pieces

Key Rules

  • Players alternate turns placing or moving pieces
  • Stack movement limited by stack height
  • Win by connecting opposite board edges
  • Alternative win condition: most visible flat stones when board is full

Variants

Env-iddifficulty
Tak-v0-easyeasy
Tak-v0-mediummedium
Tak-v0-hardhard

Contact

If you have questions or face issues with this specific environment, please reach out directly to bobby_cheng@i2r.a-star.edu.sg