chess game/board.rb
#moves piece without checking in_check? .. called in piece class
moves piece without checking in_check.
moves piece without checking in_check .
def move_piece!(start_pos, end_pos)
        piece = self[start_pos]
        self[end_pos] = piece 
        piece.pos = end_pos
        self[start_pos] = nullPiece
    end
def move_piece! ( start_pos , end_pos ) piece = self [ start_pos ] self [ end_pos ] = piece piece . pos = end_pos self [ start_pos ] = nullPiece end
moves piece without checking in_check?
moves piece without checking in_check?
start_pos
<not_specific>
end_pos
<not_specific>