title: AJAX Microgames
body: <p>If you're not familiar with the concept of a Microgame, check out this <a href="https://www.youtube.com/watch?v=cxYIN0PBZU4" rel="nofollow">video of WarioWare Twisted</a>. </p>
  
  <p>I'm interested in setting up a site where users can play series of browser-based Microgames which are delivered to them by a server. Ideally this would allow me to crowdsource the games and have an open submission system. What sort of scheme could I use to make this work?</p>
  
  <p>I'm thinking that one way to do it would be to have each game consist of:</p>
  
  <ul>
  <li>A javascript file that defines a MicroGame object that controls a rectangular portion of the screen, gets input and timing information from the main page, then calls back to the main page with a "Success" or "Failure" message.</li>
  <li>A folder of assets that must be downloaded before the game executes.</li>
  </ul>
  
  <p>Is this possible to do, client-side within a browser? Where would be a good place to start figuring this out?</p>