Commit 35137ff9 authored by cc201010's avatar cc201010
Browse files

Advanced Js project ,Updated 2nd Version

parent 30192356
......@@ -197,11 +197,11 @@ export default {
<!--Dealer cards container -->
<!--UnFlipped dealer card -->
<div class="flex flex-row flex-wrap justify-center border p-2" v-if="isGameEnded">
<div class="flex flex-row flex-wrap justify-center p-2" v-if="isGameEnded">
<img class="mx-1 mt-2 w-28" v-for="card in dealerHand" :src="getSource(card)" alt="">
</div>
<!--UnFlipped dealer card -->
<div class="flex flex-row flex-wrap justify-center border p-2 " v-else>
<div class="flex flex-row flex-wrap justify-center p-2" v-else>
<img class="mx-1 mt-2 w-28" v-for="(card,index) in dealerHand"
:src="index ===0 ? 'src/assets/defaultcard.png' :getSource(card)" alt="">
</div>
......@@ -213,7 +213,7 @@ export default {
<!--MainPlayer Points-->
<h1 class="text-xl font-bold">You : {{ playerPoints }}</h1>
<!--MainPlayer cards container-->
<div class="flex flex-row flex-wrap justify-center border p-2">
<div class="flex flex-row flex-wrap justify-center p-2">
<img class="mx-1 mt-2 w-28" :src="getSource(card)" alt="" v-for="card in playerHand">
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment