Going to work on iPad version first (Universal app). Need to decide how to structure code (I think I’ll keep everything in a single file for starts).


  • Reviewing source code in greater detail.
  • Phase – Single step in turn, 16 distinct phases (#152-170)
  • maxTurns = 3 * (cCharacters – 3)
  • cCharacters 4 5 6
  • maxTurns 3 6 9
  • Direct statements – [iPerson1] says that [iPerson2] is [adjective]
  • affinity[iPerson1][iPerson2]
  • Indirect statements – iPerson1’s assessment of how much iPerson3 likes iPerson4
  • perceivedAfffinity[iPerson1][iPerson3][iPerson4]

Source Code TOC

  • 102-170 – constants
  • 172-291 – variables
  • 294-334 – ctor
  • 341-606 – array population
  • 608-638 – get face images, create buttons
  • 642-739 – timer setup
  • 741-1097 – Mouse handling
    • mouseReleased
    • mouseClick
    • mousePressed
    • mouseExited
    • mouseEntered
  • 1098-1221 – “Helper” classes
    • History
    • ImagePlusLocation
    • RoundButton
  • 1222-1230 – readImage
  • 1231-1276 – initialize
  • 1277-1773 – Screen “cosmetics”
    • playSound
    • paint
    • drawButtons
    • drawHexagon
    • postMessage
    • drawFace
    • drawSolidHalos
    • hilightSpoke (2)
    • drawHalo
    • drawArrowHead
  • 1774-2139 – AI
    • blend
    • bSum
    • boundedInverseTransform
    • boundedTransform
    • getAffinityIndex
    • getPAffinityIndex
    • declareIndirectAffinity
    • declareAffinity
    • setSuspiciousness
    • totalEnergy
    • relax
    • runNPCTurn
    • planDirectReport
    • planIndirectReport
    • nextPerson1
    • selectCallee
    • selectPredicate
    • howRecent
    • integerToBounded
    • boundedToInteger
  • 2140-2157 – main

Made change to source code that Chris sent yesterday.

This entry was posted in Side Projects and tagged . Bookmark the permalink.