pogp 0.1.0

The POG Protocol defines language-neutral binary and json representations of Inputs and State.
Documentation
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-32">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>POG Protocol Pong Example</title>

  <style>
    body { margin: 0; padding: 0; }

    .board {
      background-color: black;
      width: 100vw;
      height: 100vh;
      position: absolute; left: 0; right: 0; top: 0; bottom: 0;
      margin: auto;
    }

    .paddle {
      background-color: hotpink;
      position: absolute;
    }
    .paddle.right {
      background-color: cornflowerblue;
    }
    .ball {
      background-color: rebeccapurple;
      position: absolute;
    }

    .scores {
      font-family: 'Comic Sans MS', 'OpenSans', sans-serif;
      color: white;
      text-align: center;
    }

    .github-ribbon {
      position: absolute;
      right: 0;
      top: 0;
      z-index: 1;
    }
  </style>
</head>
<body>
  <script type="module" src="src/ts/demo/pongDemo.ts"></script>

  <a class="github-ribbon" href="https://github.com/neilsarkar/pogp" target="_blank"><img decoding="async" loading="lazy" width="149" height="149" src="https://github.blog/wp-content/uploads/2008/12/forkme_right_white_ffffff.png?resize=149%2C149" class="attachment-full size-full" alt="Fork me on GitHub" data-recalc-dims="1"></a>
  <div class="board">
    <button>Change Runtime</button>
    <div class="scores">
      <span class="left score">0</span>
      -
      <span class="right score">0</span>
    </div>
    <div class="left paddle"></div>
    <div class="right paddle"></div>
    <div class="ball"></div>
  </div>
</body>
</html>