Gigapawn

by jonathan

Points

5

Type

Custom

Please log in to purchase pieces.

gigapawn

5 points

A massive pawn that can push forward with great force, trampling over enemy pieces in its path.

Moves

  • This piece
  • Can move
  • Can capture
  • Other piece
  • Step

    Moves 1 square forward, only onto empty squares.

  • Jump
    • First move only

    Moves exactly 2 squares forward, jumping over anything in between, only onto empty squares.

  • Slide
    • Once per game

    Moves up to 2 squares forward, up to the first piece in its way (which it can capture if it's an enemy), but only to some of those squares (see the map).

Abilities

  • Trample
    • Once per game

    Trample over enemy pieces in a straight line, capturing them as it moves.

Show rules as code

Step

(where (relative :origin from :offsets ((0 1))) (empty true))

Jump

(where (relative :origin from :offsets ((0 2))) (empty true))
if {"kind":"piece_state","params":{"key":"has_moved","value":false}}

Slide

(where (line :origin from :dirs ((0 1)) :max_distance 2 :stop_at first_blocker :include_blocker true) (or (empty true) (piece.color enemy)))
if {"kind":"max_uses","params":{"key":"trample_uses","limit":1}}

Trample

if {"kind":"max_uses","params":{"key":"trample_uses","limit":1}}
then {"kind":"capture_area","select":"(where (radius :origin from :r 1) (piece.color enemy))"}

State

{"has_moved":false,"last_pos":null,"trample_uses":0}