From: Carl Worth Date: Sat, 23 May 2020 17:42:40 +0000 (-0700) Subject: empires: Simply game for to require only a character name X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=20c213c065cd264b12f2b7e042e0b2fe7443b656;ds=sidebyside empires: Simply game for to require only a character name Since the palyer's own nickname is now requested earlier (when first joining the game). This will hopefully be less confusing for players (who were sometimes confused about which name was which). --- diff --git a/empires/game.html b/empires/game.html index d3be569..c901f5f 100644 --- a/empires/game.html +++ b/empires/game.html @@ -35,9 +35,9 @@
-
-

The Game of Empires

+

The Game of Empires

+

Contacting server. Please wait...

@@ -45,36 +45,29 @@
-

The Game of Empires

+

Choose your character

- To join the game, type your own name below. Also, choose the - name of a character that you want to play as. This can be - anyone (real or fictional) that everyone playing the game - would be likely to know, (for example "Albert Einstein" or - "Harry Potter"). + This can be anyone (real or fictional), but should be + someone that all players of the game are familiar with.

- Note: After you have joined the game, another player can use - this same device to join the game as well. + Hint: Choosing an ideal character name is the key to doing + well in Empires. You definitely don't want a character that + everyone will know that only you would have chosen.

-
- - -
- -
+
diff --git a/empires/game.js b/empires/game.js index d3d3494..746cdfd 100644 --- a/empires/game.js +++ b/empires/game.js @@ -17,7 +17,6 @@ function register(form) { request.open("POST", "register"); request.setRequestHeader("Content-Type", "application/json; charset=UTF-8"); var data = { - "name": form.name.value, "character": form.character.value }; request.send(JSON.stringify(data));