projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Coregal variant + simplify time management in Game.vue
[vchess.git]
/
client
/
src
/
base_rules.js
diff --git
a/client/src/base_rules.js
b/client/src/base_rules.js
index
71fa13c
..
b83a409
100644
(file)
--- a/
client/src/base_rules.js
+++ b/
client/src/base_rules.js
@@
-829,7
+829,7
@@
export const ChessRules = class ChessRules {
castleSide++ //large, then small
) {
if (this.castleFlags[c][castleSide] >= V.size.y) continue;
castleSide++ //large, then small
) {
if (this.castleFlags[c][castleSide] >= V.size.y) continue;
- // If this code is reached, rook
s
and king are on initial position
+ // If this code is reached, rook and king are on initial position
// NOTE: in some variants this is not a rook, but let's keep variable name
const rookPos = this.castleFlags[c][castleSide];
// NOTE: in some variants this is not a rook, but let's keep variable name
const rookPos = this.castleFlags[c][castleSide];