Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
chess_engine
master
ChessEngine
Game
Move
Rule
RuleSet
StaticRuleSet
TestRule
Built with Crystal 1.9.2
2023-10-08 14:18:00 UTC
class
ChessEngine::RuleSet
ChessEngine::RuleSet
Reference
Object
Defined in:
chess_engine/ruleset.cr
Constructors
.new
(game : Game, static_rules : StaticRuleSet)
Instance Method Summary
#rules
: Set(Rule)
Macro Summary
method_missing
(call)
Constructor Detail
def self.
new
(game :
Game
, static_rules :
StaticRuleSet
)
#
[
View source
]
Instance Method Detail
def
rules
: Set(
Rule
)
#
[
View source
]
Macro Detail
macro
method_missing
(call)
#
[
View source
]