Bicycle

by barron

Points

3

Type

Custom

Please log in to purchase pieces.

bicycle

3 points

A simple bicycle that can ride in straight lines or make a quick jump over obstacles.

Moves

  • This piece
  • Can move
  • Can capture
  • Other piece
  • Slide

    Moves up to 3 squares in a straight line (forward, back or sideways), up to the first piece in its way (which it can capture if it's an enemy).

  • Jump
    • Once per game

    Moves exactly 2 squares straight in any direction, jumping over anything in between, but only to some of those squares (see the map).

  • Step

    Moves 1 square diagonally in any direction.

Show rules as code

Slide

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

Jump

(where (relative :origin from :offsets ((2 0) (0 2) (-2 0) (0 -2))) (or (empty true) (piece.color enemy)))
if {"kind":"max_uses","params":{"key":"jump_uses","limit":1}}

Step

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

State

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