index.html
<html>
<head>
  <title>Free Cell</title>
  <link rel='stylesheet' href='styles.css'>
  <script src='library.js'></script>
  <script src='globals.js'></script>
  <script src='helpers.js'></script>
  <script src='functions.js'></script>
</head>
<body>
  <div id='game'>
    <div id='temp_panel'>
      <script>setup_temp();</script>
    </div>
    <div id='main_panel'>
      <script>setup_main();</script>
    </div>
    <div id='final_panel'>
      <script>setup_final();</script>
    </div>
  </div>
  <script>deal(); draw();</script>
</body>
</html>
styles.css
#temp_panel, #final_panel {
  display:flex;
  flex-direction: column;
  align-items: center;
  background-color: mediumseagreen;
  width:9vw;
}
.temp, .final {
  width:90%;
  margin-top:1vmin;
}

more →