Fixed dockerfile
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<h2 class="title">Score: {{player.score}}</h2>
|
||||
<h3 class="subtitle">Best score: {{player.bestScore}}</h3>
|
||||
<b-button @click="respawn">Respawn</b-button>
|
||||
<b-button @click="quit">Quit</b-button>
|
||||
</b-modal>
|
||||
<canvas
|
||||
class="game-canvas"
|
||||
@@ -16,7 +17,6 @@
|
||||
<script>
|
||||
import { send } from '@/store/socketPlugin'
|
||||
import { render } from '@/game/render.js'
|
||||
// import { update } from '@/game/update.js'
|
||||
import { sound } from '@/game/sound.js'
|
||||
|
||||
export default {
|
||||
@@ -169,6 +169,9 @@ export default {
|
||||
},
|
||||
respawn () {
|
||||
send({ type: 'respawn' })
|
||||
},
|
||||
quit () {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user