projects
/
xogo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Fix typo element.id --> element
[xogo.git]
/
variants
/
Zen
/
class.js
1
import
ChessRules
from
"/base_rules.js"
;
2
3
export default class
ZenRules
extends
ChessRules
{
4
5
static get
Options
() {
6
return
{
7
select
:
C
.
Options
.
select
,
8
check
:
C
.
Options
.
check
,
9
styles
:
C
.
Options
.
styles
.
filter
(
s
=>
s
!=
"zen"
)
10
};
11
}
12
13
constructor
(
o
) {
14
super
(
o
);
15
o
.
options
.
zen
=
true
;
16
}
17
18
};