projects
/
vchess.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Add first draft of 'Victor Chess'
[vchess.git]
/
client
/
src
/
variants
/
Freecapture.js
Commit
Line
Data
e88d69a8
BA
1
import { ChessRules } from "@/base_rules";
2
3
export class FreecaptureRules extends ChessRules {
4
canTake() {
5
// Can capture both colors:
6
return true;
7
}
8
9
static get SEARCH_DEPTH() {
10
return 2;
11
}
12
};