Sha256: 8ce39db7f0715e337d8ff626bfe1b0a7dccd3c774e65d476f81e01b7a3f8b18c

Contents?: true

Size: 99 Bytes

Versions: 10

Compression:

Stored size: 99 Bytes

Contents

module CastlingPieceControl
  def moved?
    @moved
  end

  def mark!
    @moved = true
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sapphire-chess-1.1.7 lib/sapphire-chess/movement_rules/castling_piece_control.rb
sapphire-chess-1.1.6 lib/sapphire-chess/movement_rules/castling_piece_control.rb
sapphire-chess-1.1.5 lib/sapphire-chess/movement_rules/castling_piece_control.rb
sapphire-chess-1.1.4 lib/sapphire-chess/movement_rules/castling_piece_control.rb
sapphire-chess-1.1.3 lib/sapphire-chess/movement_rules/castling_piece_control.rb
sapphire-chess-1.1.2 lib/sapphire-chess/movement_rules/castling_piece_control.rb
sapphire-chess-1.1.1 lib/sapphire-chess/movement_rules/castling_piece_control.rb
sapphire-chess-1.1.0 lib/sapphire-chess/movement_rules/castling_piece_control.rb
sapphire-chess-1.0.1 lib/sapphire-chess/movement_rules/castling_piece_control.rb
sapphire-chess-1.0.0 lib/sapphire-chess/movement_rules/castling_piece_control.rb