diff --git a/components/GameButtons.vue b/components/GameButtons.vue index 4fcd37c..f9a9b31 100644 --- a/components/GameButtons.vue +++ b/components/GameButtons.vue @@ -11,12 +11,15 @@ export default { methods: { startGame() { // Lógica para iniciar o jogo + this.$router.push("game"); }, exitGame() { // Lógica para sair do jogo + this.$router.push("end"); }, showScore() { // Lógica para exibir o placar + this.$router.push("leaderboard"); }, }, }; diff --git a/pages/end.vue b/pages/end.vue new file mode 100644 index 0000000..a19c86d --- /dev/null +++ b/pages/end.vue @@ -0,0 +1,13 @@ + + The game is over :( + + + + diff --git a/pages/game.vue b/pages/game.vue new file mode 100644 index 0000000..3c0ffbb --- /dev/null +++ b/pages/game.vue @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/pages/index.vue b/pages/index.vue index 9f29772..4ea35d4 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,28 +1,11 @@ - - - - - - - - - - - + - - diff --git a/pages/leaderboard.vue b/pages/leaderboard.vue new file mode 100644 index 0000000..1ac2e4d --- /dev/null +++ b/pages/leaderboard.vue @@ -0,0 +1,13 @@ + + Leaderboard + + + +