Skip to content
Snippets Groups Projects
  1. Feb 02, 2012
    • Sam Moore's avatar
      Did some stuff · 6066930d
      Sam Moore authored
      Probably should have committed immediately after I did whatever the stuff was? Not several weeks later?
      
      I appear to have improved the vixen AI slightly
      
      Aha, I remember! Altered manager program so that two ports are used (4560 and 4561) instead of just one.
      This means you can use network controllers for both players, not just one.
      6066930d
  2. Jan 19, 2012
  3. Dec 24, 2011
    • Sam Moore's avatar
      Bug in simulate.py caused by "INTERNAL_ERROR" · fda21e69
      Sam Moore authored
      When INTERNAL_ERRORs occur, the colour wasn't added to the array in the "ALL" results.
      So when the script looks up agents["ALL"][index][4] (the colour entry), there was an indexing error.
      Fixed by adding the colour to the result array when INTERNAL_ERROR occurs.
      
      TODO: Discover cause of INTERNAL_ERROR - in the manager program
      
      It occurs on mufasa, but not on my laptop.
      I believe it is due to AI timeouts not being handled correctly by the manager program (stratego).
      On my laptop, things run nice and fast, and since all the AI work properly, there are no timeouts.
      On mufasa, things run shit and slow, and pretty much every game I tested ended with a move timeout.
      Timeout causes broken pipe after AI program is told to exit?
      
      As a temporary measure, increased timeout to 60s (from 2s). If this doesn't stop timeouts,
      there must be some other factor making things slow.
      "The problem is determining where the shittiness lies... is it the shittiness of the VM, the shittiness of python,
      the shittiness of the manager program..."
      
      Running another test round on mufasa over christmas. Hopefully it will finish running by new year. (Assume 60s a move, 300 moves a game... 12 games...)
      
      Considering putting my laptop in the clubroom and just running the competition on that.
      fda21e69
  4. Dec 22, 2011