Fly in the Car

by jonathan

Points

3

Type

Custom

Please log in to purchase pieces.

fly_in_car

3 points

A pesky fly that can buzz around the board, occasionally getting stuck in place.

Moves

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

    Moves 1 square in any direction.

  • Jump
    • Once per game

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

  • Step

    Moves 1 square straight in any direction.

Abilities

  • Buzz
    • Once per game

    Buzz around the board, moving to any empty square.

Show rules as code

Step

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

Jump

(relative :origin from :offsets ((2 0) (-2 0) (0 2) (0 -2)))
if {"kind":"max_uses","params":{"key":"buzz_uses","limit":1}}

Step

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

Buzz

if {"kind":"max_uses","params":{"key":"buzz_uses","limit":1}}
then {"from":"self","kind":"triggered_move","to":"(where (relative :origin from :offsets board_wide_target) (empty true))"}

State

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