projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b4f2488
)
Add orange board theme
author
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 22 Apr 2020 10:40:22 +0000
(12:40 +0200)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 22 Apr 2020 10:40:22 +0000
(12:40 +0200)
TODO
patch
|
blob
|
blame
|
history
client/src/components/Board.vue
patch
|
blob
|
blame
|
history
client/src/components/Settings.vue
patch
|
blob
|
blame
|
history
client/src/styles/_board_squares_img.sass
patch
|
blob
|
blame
|
history
client/src/translations/en.js
patch
|
blob
|
blame
|
history
client/src/translations/es.js
patch
|
blob
|
blame
|
history
client/src/translations/fr.js
patch
|
blob
|
blame
|
history
diff --git
a/TODO
b/TODO
index
0766d2d
..
886aaf3
100644
(file)
--- a/
TODO
+++ b/
TODO
@@
-1,6
+1,11
@@
Issue: embedded rules language not updated when language is set (in Analyse, Game and Problems)
Also: if new live game starts in background, "new game" notify OK but not first move (not too serious however)
Issue: embedded rules language not updated when language is set (in Analyse, Game and Problems)
Also: if new live game starts in background, "new game" notify OK but not first move (not too serious however)
+For Teleport, Chakart and Hamilton at least: a piece should be attached to mouse cursor,
+waiting for a click dropping it somewhere. In BaseGame: find the appropriate place to call eg. Board::setHoverPiece(),
+which should be in effect when hovering over position only (#gamePosition), and cancelled when receiving the
+message stopHover() for example.
+
https://www.chessvariants.com/crossover.dir/koopachess.html
--> Can a stunned piece capture? Maybe not. ...recover? After 5 moves? Never?
+ Chakart :)
https://www.chessvariants.com/crossover.dir/koopachess.html
--> Can a stunned piece capture? Maybe not. ...recover? After 5 moves? Never?
+ Chakart :)
@@
-30,6
+35,6
@@
Yoté https://fr.wikipedia.org/wiki/Yot%C3%A9 http://www.zillionsofgames.com/cgi
gess https://en.wikipedia.org/wiki/Gess
weiqi (check if landed stone captures, walk on connected components), go13, go9, gomoku, reversi
first click show the stone, second click confirm the move?
gess https://en.wikipedia.org/wiki/Gess
weiqi (check if landed stone captures, walk on connected components), go13, go9, gomoku, reversi
first click show the stone, second click confirm the move?
-avalam, qoridor, xiangqi, draughts, draughts8
+avalam, qoridor
(wider lines in another color, vr.lines [npt static get] for this one ?)
, xiangqi, draughts, draughts8
(puis quand hexaboards peut-être: hexavariants + Hex)
Byo-yomi possible: 1h+b15,5m (15 pierres 5 minutes)
(puis quand hexaboards peut-être: hexavariants + Hex)
Byo-yomi possible: 1h+b15,5m (15 pierres 5 minutes)
diff --git
a/client/src/components/Board.vue
b/client/src/components/Board.vue
index
70c46b9
..
5a21771
100644
(file)
--- a/
client/src/components/Board.vue
+++ b/
client/src/components/Board.vue
@@
-915,4
+915,9
@@
img.ghost
background-color: #9f9fff
.dark-square.chesstempo.highlight-dark
background-color: #557fff
background-color: #9f9fff
.dark-square.chesstempo.highlight-dark
background-color: #557fff
+
+.light-square.orangecc.highlight-light
+ background-color: #fef273
+.dark-square.orangecc.highlight-dark
+ background-color: #e8c525
</style>
</style>
diff --git
a/client/src/components/Settings.vue
b/client/src/components/Settings.vue
index
d2194da
..
415e9d4
100644
(file)
--- a/
client/src/components/Settings.vue
+++ b/
client/src/components/Settings.vue
@@
-45,6
+45,7
@@
div
option(value="lichess") {{ st.tr["brown"] }}
option(value="chesscom") {{ st.tr["green"] }}
option(value="chesstempo") {{ st.tr["blue"] }}
option(value="lichess") {{ st.tr["brown"] }}
option(value="chesscom") {{ st.tr["green"] }}
option(value="chesstempo") {{ st.tr["blue"] }}
+ option(value="orangecc") {{ st.tr["orange"] }}
fieldset
label(for="setSound")
| {{ st.tr["Sound alert at game start"] }}
fieldset
label(for="setSound")
| {{ st.tr["Sound alert at game start"] }}
diff --git
a/client/src/styles/_board_squares_img.sass
b/client/src/styles/_board_squares_img.sass
index
c1adf6f
..
e082f9e
100644
(file)
--- a/
client/src/styles/_board_squares_img.sass
+++ b/
client/src/styles/_board_squares_img.sass
@@
-76,22
+76,26
@@
img.circle-square
background-color: #f0d9b5
.dark-square.lichess
background-color: #b58863
background-color: #f0d9b5
.dark-square.lichess
background-color: #b58863
+.middle-square.lichess
+ background-color: #D3B18C
.light-square.chesscom
background-color: #e5e5ca
.dark-square.chesscom
background-color: #6f8f57
.light-square.chesscom
background-color: #e5e5ca
.dark-square.chesscom
background-color: #6f8f57
+.middle-square.chesscom
+ background-color: #AABA91
.light-square.chesstempo
background-color: #dfdfdf
.dark-square.chesstempo
background-color: #7287b6
.light-square.chesstempo
background-color: #dfdfdf
.dark-square.chesstempo
background-color: #7287b6
-
-.middle-square.lichess
- background-color: #D3B18C
-
-.middle-square.chesscom
- background-color: #AABA91
-
.middle-square.chesstempo
background-color: #A9B3CB
.middle-square.chesstempo
background-color: #A9B3CB
+
+.light-square.orangecc
+ background-color: #fce4b2
+.dark-square.orangecc
+ background-color: #d08b18
+.middle-square.orangecc
+ background-color: #E6B865
diff --git
a/client/src/translations/en.js
b/client/src/translations/en.js
index
938e96b
..
4320d31
100644
(file)
--- a/
client/src/translations/en.js
+++ b/
client/src/translations/en.js
@@
-94,6
+94,7
@@
export const translations = {
Observe: "Observe",
"Offer draw?": "Offer draw?",
"Opponent action": "Opponent action",
Observe: "Observe",
"Offer draw?": "Offer draw?",
"Opponent action": "Opponent action",
+ orange: "orange",
"Participant(s):": "Participant(s):",
"Play with": "Play with",
Players: "Players",
"Participant(s):": "Participant(s):",
"Play with": "Play with",
Players: "Players",
diff --git
a/client/src/translations/es.js
b/client/src/translations/es.js
index
75dbf59
..
c55f396
100644
(file)
--- a/
client/src/translations/es.js
+++ b/
client/src/translations/es.js
@@
-94,6
+94,7
@@
export const translations = {
"Offer draw?": "¿Ofrecer tablas?",
Observe: "Observar",
"Opponent action": "Acción del adversario",
"Offer draw?": "¿Ofrecer tablas?",
Observe: "Observar",
"Opponent action": "Acción del adversario",
+ orange: "naranja",
"Participant(s):": "Participante(s):",
"Play with": "Jugar con",
Players: "Jugadores",
"Participant(s):": "Participante(s):",
"Play with": "Jugar con",
Players: "Jugadores",
diff --git
a/client/src/translations/fr.js
b/client/src/translations/fr.js
index
e6e8aa6
..
a073797
100644
(file)
--- a/
client/src/translations/fr.js
+++ b/
client/src/translations/fr.js
@@
-94,6
+94,7
@@
export const translations = {
"Offer draw?": "Proposer nulle ?",
Observe: "Observer",
"Opponent action": "Action de l'adversaire",
"Offer draw?": "Proposer nulle ?",
Observe: "Observer",
"Opponent action": "Action de l'adversaire",
+ orange: "orange",
"Participant(s):": "Participant(s) :",
"Play with": "Jouer avec",
Players: "Joueurs",
"Participant(s):": "Participant(s) :",
"Play with": "Jouer avec",
Players: "Joueurs",