diff --git a/src/components/GameCode.vue b/src/components/GameCode.vue
index 4d2b0a1..f6ccf27 100644
--- a/src/components/GameCode.vue
+++ b/src/components/GameCode.vue
@@ -10,15 +10,24 @@
id="username"
name="User Name"
v-model="username"
+ @keyup.enter.stop="$refs.gamecode.focus()"
>
+
+
@@ -31,7 +40,14 @@ export default {
game_code: ``,
username: ``,
}},
- methods: {},
+ methods: {
+ try_game_code() {
+ if (this.game_code.length > 0) {
+ alert('The game code you have entered is invalid.');
+ this.game_code = ``;
+ }
+ },
+ },
}