Skip to content

Instantly share code, notes, and snippets.

@MikeShi42
Created August 13, 2018 17:49
Show Gist options
  • Save MikeShi42/fc6fd326965395cffd469bd01305fc1a to your computer and use it in GitHub Desktop.
Save MikeShi42/fc6fd326965395cffd469bd01305fc1a to your computer and use it in GitHub Desktop.
<div class="above-game">
<p class="game-intro">Join the numbers and get to the <strong>2048 tile!</strong></p>
<a class="restart-button">New Game</a>
</div>
<!-- Add these two divs -->
<div class="message-container waiting-message" style="display: none;">
Waiting for Player 2...
</div>
<div class="message-container countdown-message" style="display: none;">
Game starting in <span class="countdown-number"></span>...
</div>
<div id="player-one">
<div class="game-container">
<div class="game-message">
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment