You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
514 B
JavaScript
35 lines
514 B
JavaScript
// Should mostly match server's components.js
|
|
// Misc. game data required
|
|
let gameData = {
|
|
|
|
item : null,
|
|
itemCount : null,
|
|
|
|
playerId : null,
|
|
opponentId : null,
|
|
roomId : null,
|
|
turn : 0,
|
|
playerTurn : 0,
|
|
players : null,
|
|
|
|
cardCount : {
|
|
deck : {},
|
|
hand : {},
|
|
},
|
|
|
|
|
|
// Real components from here?
|
|
listPosition : {},
|
|
cardData : {},
|
|
player : {},
|
|
deck : {},
|
|
hand : {},
|
|
|
|
// Local components, not done on serverside
|
|
// calculated, etc. by client
|
|
position : {},
|
|
size : {},
|
|
|
|
}
|
|
|