git @ Cat's Eye Technologies Cosmos-Boulders / master demo / cosmos-boulders.html
master

Tree @master (Download .tar.gz)

cosmos-boulders.html @masterraw · history · blame

<!--
SPDX-FileCopyrightText: In 2019, Chris Pressey, the original author of this work, placed it into the public domain.
SPDX-License-Identifier: Unlicense
For more information, please refer to <https://unlicense.org/>
-->

<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <title>Cosmos Boulders</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <style>
canvas { border: 1px solid blue; }
  </style>
</head>
<body>

<h1>Cosmos Boulders</h1>

<article>
  <div id="installation">
  </div>
  <div>
  <p>Key bindings:</p>
  <ul>
    <li>Insert coin: <strong>5</strong></li>
    <li>Start: <strong>1</strong></li>
    <li>Fire: <strong>Ctrl</strong> (left or right)</li>
    <li>Thrust: <strong>Up Arrow</strong></li>
    <li>Rotate Left: <strong>Left Arrow</strong></li>
    <li>Rotate Right: <strong>Right Arrow</strong></li>
  </ul>
</article>

<script src="../contrib/immutable-3.8.2/dist/immutable.min.js"></script>
<script src="../contrib/redux-4.0.1/dist/redux.min.js"></script>
<script src="../src/cosmos-boulders.js"></script>

<script>
  launch({ container: document.getElementById("installation") });
</script>

</body>