SumoZempic

by jonathan

Points

6

Type

Custom

Please log in to purchase pieces.

sumozempic

6 points

A heavyweight piece that can push adjacent enemy pieces and gain strength from their displacement.

Moves

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

    Moves 1 square straight in any direction.

  • Jump

    Moves exactly 2 squares straight in any direction, jumping over anything in between.

  • Slide

    Moves any distance diagonally in any direction, up to the first piece in its way (which it can capture if it's an enemy).

Abilities

  • Push and Gain
    • Once per game

    Push adjacent enemy pieces one square away if the destination is empty, gaining strength from each push.

Show rules as code

Step

(relative :origin from :offsets ((1 0) (-1 0) (0 1) (0 -1)))

Jump

(relative :origin from :offsets ((2 0) (-2 0) (0 2) (0 -2)))

Slide

(line :origin from :dirs ((1 1) (1 -1) (-1 1) (-1 -1)) :stop_at first_blocker :include_blocker true)

Push and Gain

if {"kind":"max_uses","params":{"key":"push_uses","limit":1}}
then {"kind":"displace_area","params":{"method":"flee_one_step_if_empty","select":"(where (adjacent :origin from) (piece.color enemy))"}}
then {"kind":"set_state_in_area","params":{"key":"strength","select":"(relative :origin from :offsets ((0 0)))","value":1}}

State

{"has_moved":false,"last_pos":null,"push_uses":0,"strength_jump_uses":0}