projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
socket rooms correspnding to pages. TODO: Hall+Game (split live and corr? shared...
[vchess.git]
/
client
/
src
/
views
/
Hall.vue
diff --git
a/client/src/views/Hall.vue
b/client/src/views/Hall.vue
index
433151c
..
a8dfa98
100644
(file)
--- a/
client/src/views/Hall.vue
+++ b/
client/src/views/Hall.vue
@@
-90,7
+90,7
@@
export default {
gdisplay: "live",
games: [],
challenges: [],
gdisplay: "live",
games: [],
challenges: [],
- people: [], //
(all) online players
+ people: [], //
people in main hall
infoMessage: "",
newchallenge: {
fen: "",
infoMessage: "",
newchallenge: {
fen: "",
@@
-381,8
+381,8
@@
export default {
else
{
this.infoMessage = "New game started: " +
else
{
this.infoMessage = "New game started: " +
- "<a href='/game/" + data.gameInfo.gameId + "'>" +
- "/game/" + data.gameInfo.gameId + "</a>";
+ "<a href='
#
/game/" + data.gameInfo.gameId + "'>" +
+ "
#
/game/" + data.gameInfo.gameId + "</a>";
let modalBox = document.getElementById("modalInfo");
modalBox.checked = true;
setTimeout(() => { modalBox.checked = false; }, 3000);
let modalBox = document.getElementById("modalInfo");
modalBox.checked = true;
setTimeout(() => { modalBox.checked = false; }, 3000);
@@
-581,7
+581,7
@@
export default {
const game = Object.assign({}, gameInfo, {
// (other) Game infos: constant
fenStart: gameInfo.fen,
const game = Object.assign({}, gameInfo, {
// (other) Game infos: constant
fenStart: gameInfo.fen,
-
creat
ed: Date.now(),
+
add
ed: Date.now(),
// Game state (including FEN): will be updated
moves: [],
clocks: [-1, -1], //-1 = unstarted
// Game state (including FEN): will be updated
moves: [],
clocks: [-1, -1], //-1 = unstarted