projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Almost finished problems logic. TODO: showProblem() part
[vchess.git]
/
public
/
javascripts
/
variants
/
Wildebeest.js
diff --git
a/public/javascripts/variants/Wildebeest.js
b/public/javascripts/variants/Wildebeest.js
index
bb478cc
..
dcf2d58
100644
(file)
--- a/
public/javascripts/variants/Wildebeest.js
+++ b/
public/javascripts/variants/Wildebeest.js
@@
-10,6
+10,10
@@
class WildebeestRules extends ChessRules
static get CAMEL() { return 'c'; }
static get WILDEBEEST() { return 'w'; }
+ static get PIECES() {
+ return ChessRules.PIECES.concat([V.CAMEL,V.WILDEBEEST]);
+ }
+
static get steps() {
return Object.assign(
ChessRules.steps, //add camel moves: