<template>
  <div class="lobby__container">
    Lobby
    <div class="lobby__players-list">
      <div v-for="player in players" :key="player.id" class="lobby__player">
        * {{ player.name }}
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { usePlayersStore } from '@/stores/PlayersStore'
const players = usePlayersStore().players
</script>

<style lang="scss">
@import '~/assets/css/components';

.lobby {
  &__container {
    font-family: $font-primary;
  }
}
</style>