valtron
Joined 13 years ago
Joined 13 years ago
var manager = new GameManager(4, KeyboardInputManager, HTMLActuator);
function play() {
manager.restart();
var m = 0;
while (!manager.over) {
manager.move(m);
m = (m+1)%4;
}
return manager.score;
}
... and that gets scores between 500 and 3000.(Edit) Histogram of 500 runs:
0k: ***
1k: *******************
2k: ****************
3k: *********
4k: *
5k: *
6k: *However, for a currency, scarcity is critical! Let's say it was easy (and cheap) for people to print their own dollars. You then want to buy an apple. How much is an apple these days, about $1? That doesn't make sense, the apple store can easily print $1 worth of money and keep the apple. What about for $100? Same thing: it's still one bill. What about $1000000? Maybe. Depends how much harder it is to acquire that amount of paper and ink than the apple. At this point, congratulations, your currency is basically paper and ink. Buying anything remotely expensive (like groceries) involves hauling around tons of paper and ink.
http://w3.newsmax.com/newsletters/uwr/images/transcript-img1...
Scarcity is just one requirement for something to act as a currency; another would be that it can be exchanged for goods and services (read: other things that people value, and for which they want things that they also value).
That being said, when a designer says things like "move this button 3px to the left" they usually mean things like "move this button so its right edge aligns with the right edge of the content below, which got shifted because we added padding-right." So the original request gets implemented as what he _wants_ rather than what he asked for.
Anyway, slightly OT: the screenshot looks like a Google page. Does anyone know which one? I really want to know what difference the 3px makes!
Edit: Got my first point (50 - 100 tries?). You need to make it go a full orbit without touching the outer circle. This seems obvious in retrospect.
Edit 2: And they knock each other out of orbit. This is fun.
Maybe the rules of life are competitive: you can only increase your score at someone else's expense. The score is either 0-1 or 1-0. (Maybe you're both starving but only have enough food to sustain one person.)
Or maybe they're cooperative: you can both achieve a >= score if you combine resources/knowledge/what-have-you. The score is 3-3 for cooperating or 1-1 for playing independently. (Take insurance, for example.)
In reality, the game is a complex mixture of these two extremes.
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.