refactor(core): integrate Rule module and update GameContext handling
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ import scala.annotation.tailrec
|
||||
/** Standard chess rules implementation.
|
||||
* Handles move generation, validation, check/checkmate/stalemate detection.
|
||||
*/
|
||||
object StandardRules extends RuleSet:
|
||||
object DefaultRules extends RuleSet:
|
||||
|
||||
// ── Direction vectors ──────────────────────────────────────────────
|
||||
private val RookDirs: List[(Int, Int)] = List((1, 0), (-1, 0), (0, 1), (0, -1))
|
||||
Reference in New Issue
Block a user