The message area information is intended to be available regardleess
of the game state, (while the pre-game content is only intended to be
displayed while players are joining the game).
<script src="empires-client.js"></script>
<script src="empires-client.js"></script>
+ <div id="message-area">
+ </div>
+
<div id="pre-game">
<h1>Welcome to the game of Empires!</h1>
<div id="pre-game">
<h1>Welcome to the game of Empires!</h1>
same device to join the game as well.
</p>
same device to join the game as well.
</p>
- <div id="message-area">
- </div>
-
<!-- The return false prevents the page from being reloaded -->
<form onsubmit="register(this); return false">
<label for="name">Your name</label>
<!-- The return false prevents the page from being reloaded -->
<form onsubmit="register(this); return false">
<label for="name">Your name</label>