projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update translations and TODO
[vchess.git]
/
public
/
javascripts
/
variants
/
Marseille.js
diff --git
a/public/javascripts/variants/Marseille.js
b/public/javascripts/variants/Marseille.js
index
5f78095
..
2eb4260
100644
(file)
--- a/
public/javascripts/variants/Marseille.js
+++ b/
public/javascripts/variants/Marseille.js
@@
-217,6
+217,18
@@
class MarseilleRules extends ChessRules
// NOTE: GenRandInitFen() is OK,
// since at first move turn indicator is just "w"
// NOTE: GenRandInitFen() is OK,
// since at first move turn indicator is just "w"
+ static get VALUES()
+ {
+ return {
+ 'p': 1,
+ 'r': 5,
+ 'n': 3,
+ 'b': 3,
+ 'q': 7, //slightly less than in orthodox game
+ 'k': 1000
+ };
+ }
+
// No alpha-beta here, just adapted min-max at depth 2(+1)
getComputerMove()
{
// No alpha-beta here, just adapted min-max at depth 2(+1)
getComputerMove()
{