fix sense of my turn
This commit is contained in:
parent
2cb683eafb
commit
668ea105f9
@ -64,7 +64,7 @@ const props = defineProps<Props>();
|
||||
const emit = defineEmits<Emits>();
|
||||
|
||||
const gameOver = computed(() => props.game.winner == null);
|
||||
const myTurn = computed(() => gameOver.value && props.dealer === props.game.dealer);
|
||||
const myTurn = computed(() => !gameOver.value && props.dealer === props.game.dealer);
|
||||
const currentTurn = computed(() => props.game.dealer ? 'DEALER' : 'CHALLENGER');
|
||||
|
||||
const dealerTarget = computed(() => props.dealer ? 'YOURSELF' : 'THE DEALER');
|
||||
|
Loading…
Reference in New Issue
Block a user