Base for creating games for the web

Usage no npm install needed!

<script type="module">
  import gamebox from '';



Build Status Dependency Status devDependency Status

When you create games (or game engines) for the web, you have some code you always end up using. gamebox aims to provide that base code.

Version 0.2.x currently only supports CommonJS modules.

What does it provide?

  • Loop (utilizing requestAnimationFrame)
  • Asset loader
  • Input handling (keyboard)
  • Logger
  • Tweens
  • Timer (requestAnimationFrame-friendly)
  • Vectors


This is public domain. If public domain does not work for you, you can use MIT alternatively.