Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
chess
episode-05
Chess
Bishop
Board
CLIPresenter
Color
FinishDetector
Game
King
Knight
OutOfBounds
Pawn
Piece
Player
Position
Presenter
Queen
RandomPlayer
Rook
ImpossibleMove
Generated using Crystal 1.14.0
2024-11-26 10:44:44 UTC
abstract class
Chess::
Player
Chess::Player
Reference
Object
Direct Known Subclasses
Chess::RandomPlayer
Defined in:
player.cr
Instance Method Summary
#play
(board : Board, pieces : Array(Piece)) : Tuple(Piece, Position)
#yield?
: Bool
Instance Method Detail
abstract def
play
(board :
Board
, pieces : Array(
Piece
)) : Tuple(
Piece
,
Position
)
#
[
View source
]
abstract def
yield?
: Bool
#
[
View source
]