Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cc201010
VueProject
Commits
35137ff9
Commit
35137ff9
authored
Feb 06, 2022
by
cc201010
Browse files
Advanced Js project ,Updated 2nd Version
parent
30192356
Changes
1
Hide whitespace changes
Inline
Side-by-side
poke-app/src/pages/BlackJack.vue
View file @
35137ff9
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment