Skip to content
Snippets Groups Projects
Select Git revision
  • 29fae6cfa8c3e1a629d5e6b5c77bbc0012b1644e
  • master default protected
  • solution
3 results

index.html

Blame
  • index.html 762 B
    <!DOCTYPE html>
    <html>
      <title>Conway's Game of Life</title>
      <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous">
    
      <div class="container">
        <h1>Conway's Game of Life</h1>
        <svg xmlns="http://www.w3.org/2000/svg" id="game" width="640" height="400"></svg>
        <div>
            <button class="btn btn-primary" onclick="javascript: { gameOfLife.stepGame(); render(); }">Step</button>
        </div>
      </div>
    
      <script src="gameOfLife.js"></script>
      <script src="render.js"></script>
      <script>
        gameOfLife.emptyBoard()
        render()
      </script>
    
      <link rel="stylesheet" href="style.css" />
    
    </html>