Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Switcheversenken
Switcheversenken Frontend
Commits
4dbacd12
Commit
4dbacd12
authored
Sep 07, 2020
by
satan
Browse files
add images
parent
869fe065
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/components/Grid.vue
View file @
4dbacd12
...
...
@@ -51,12 +51,19 @@ td {
height
:
3em
;
}
.water
,
.unknown
{
background
:
blue
;
}
.water
{
background
:
blue
url("./fail.svg")
;
}
.ship
{
background
:
gray
;
}
.hit
{
background
:
gray
url("./hit.svg")
;
}
</
style
>
src/gameLogic.ts
View file @
4dbacd12
...
...
@@ -4,7 +4,7 @@ export enum Cell {
UNKNOWN
=
"
unknown
"
,
WATER
=
"
water
"
,
SHIP
=
"
ship
"
,
DESTROYED
=
"
destroyed
"
HIT
=
"
hit
"
}
export
interface
Ship
{
...
...
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