projects
/
vchess.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Football: fixing attempt
[vchess.git]
/
client
/
src
/
variants
/
Freecapture.js
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
import { ChessRules } from "@/base_rules";
2
3
export class FreecaptureRules extends ChessRules {
4
5
canTake() {
6
// Can capture both colors:
7
return true;
8
}
9
10
static get SEARCH_DEPTH() {
11
return 2;
12
}
13
14
};