Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Add meeting notes and clean up method call for numPlayers

  • Loading branch information...
commit 489806b180dded169e4f9e4b34a1096efe896cfc 1 parent 4869011
@Glench authored
Showing with 6 additions and 1 deletion.
  1. +5 −0 notes.txt
  2. +1 −1  ultimatum.js
5 notes.txt
@@ -25,6 +25,11 @@ Things that could be done:
- get a bunch of people from all over the world to play (to test cultural differences)
- vary graphical parameters of the game to see if it makes a difference, or give other functionality like "split evenly" button to see if they do that more
- possibly add the ability for some people to see other players' moves and others to be blind to other amounts / offers
+- either see or not see other players' decision
+- either see or not see other players' offers
+- make offers sequential? we can ask about that
+- how to abstract this for other templates
+- I do need to write a report
Things I did for snaplab code:
- document api
2  ultimatum.js
@@ -254,7 +254,7 @@ var Ultimatum = function(numPlayers, totalAmount, percentNeeded, currentPlayerId
return memo;
}, 0);
- return (totalAccepted / this.players.length) > this.percentNeeded;
+ return (totalAccepted / this.numPlayers()) > this.percentNeeded;

0 comments on commit 489806b

Please sign in to comment.
Something went wrong with that request. Please try again.