Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 1, 2013
  1. Andrew Iannaccone
Commits on Jan 20, 2012
  1. Patrick Quinn

    Turn slow mode into fast mode

    bilts authored
    This fixes several major UI inefficiencies:
    
     * playWeb.coffee triggered output updates that were being suppressed by play.html
       I removed these.  The output updates less frequently and is completely
       controlled by play.html.  Eventually, all of the CoffeeScript in play.html should
       be merged with playWeb.coffee, but that's a different issue.
     * We were calling zeroTimeout very frequently.  zeroTimeout is fast, but not
       free.  We now call it approximately 4 times a second, enough to keep the browser
       from timing out, but not enough to cause noticeable performance overhead.
     * We had released control back to the browser based on the number of games played.
       We also updated the graphs based on the number of games played.  Doing this
       way, we needed to be pessimistic about AI and browser performance.  We now
       release control when a game is over and we've had control for more than .25s.
     * We were updating the DOM whenever we added a page to the log, even when we
       updated "quietly" because we updated the paginator.  We now detect if the
       pagination has changed before updating it.
    
    Combined, these changes allow the "slow mode" simulations to run nearly as fast
    as the fast mode.  In Firefox, the UI updates in slow mode cause about 10%
    runtime overhead.  Because of this, I removed the fast mode checkbox.
    
    Fixes #23
Commits on Nov 3, 2011
  1. put back error handler

    authored
Commits on Oct 31, 2011
Commits on Oct 15, 2011
  1. added fast mode

    authored
Commits on Sep 29, 2011
Commits on Sep 16, 2011
  1. add actual error handling

    authored
Commits on Sep 11, 2011
  1. add getCardsFromDeck mechanic

    authored
  2. separate compiling from playing

    authored
  3. made a score counter

    authored
Commits on Sep 10, 2011
  1. paginated game logs

    authored
  2. layout update for the Web

    authored
Something went wrong with that request. Please try again.