Sha256: 1f4b08321e71b4e1673d6b93a7986f22bea0612600bf783af36d2dbd53558d6f
Contents?: true
Size: 496 Bytes
Versions: 396
Compression:
Stored size: 496 Bytes
Contents
## Hints To complete this exercise, you need to implement the following functions: - `boardString` - `canAttack` You will find the type signatures already in place, but it is up to you to define the functions. Positions are specified as two-tuples: - The first element is the row (rank in Chess terms). - The second element is is the column (file in Chess terms). - (0, 0) is the top left of the board, (0, 7) is the upper right, - (7, 0) is the bottom left, and (7, 7) is the bottom right.
Version data entries
396 entries across 396 versions & 1 rubygems