- <my-chat :conn="conn" :myname="myname" :people="people"></my-chat>
- <my-challenge-list :conn="conn"></my-challenge-list>
- <my-player-list :conn="conn"></my-player-list>
- <my-game-list :conn="conn" ........... my-local-game-list opposed to my-remote-ame-list ?! ...bof></my-game-list>
- onClick :: ask full game to remote player, and register as an observer in game
- (use gameId to communicate)
- on landing on game :: if gameId not found locally, check remotely
- ==> il manque un param dans game : "remoteId"
+ <div>
+ <my-chat :conn="conn" :myname="myname" :people="people"></my-chat>
+ <my-challenge-list :conn="conn"></my-challenge-list>
+ </div>
+ <div>
+ <my-player-list :conn="conn"></my-player-list>
+ // TODO: also corr games (of pther players)
+ // presentation ? table ?!
+ <my-game-summary v-for="g in remoteGames"
+ v-bind:vobj="g" v-bind:game="g" v-bind:key="g.id"
+ @click="() => showGame(g.id,g.uid)">
+ </my-game-summary>
+ </div>