the rook moves forward or back on the files through any number of squares without other pieces on them, and sideways on the ranks. this is shown in the diagram below. like other pieces, it captures by going into the square on which an enemy piece stands.