2,990 reputation
412
bio website boardspace.net
location
age
visits member for 3 years, 4 months
seen 13 hours ago

I develop games for fun.


Dec
27
comment Minimax in a bayesian game with multiple players who do not play in order
I usually cast my evaluation function as something which considers the state of only one player. In two player games, the evaluation of a position is e(player1)-e(player2). In multiplayer games, evaluation is e(player1)-max(e(player2),e(player3)). Propagation back up the tree requires recalculating the evaluation for the new node, rather than just negating as would be appropriate for a 2 player game.
Dec
26
answered Minimax in a bayesian game with multiple players who do not play in order
Dec
18
answered Why doesn't Java 8 include immutable collections?
Nov
16
answered Interpreter or virtual machine that does not execute bytecode
Nov
12
comment Which is the most practical way to add functionality to this piece of code?
It's pointless to have a formal interface that will only be used once. You can write all the specs or interfaces you want, and it might not be a bad idea, but they'll be wrong when the rubber meets the road. It's similar to the military aphorism that no battle plan lasts past when the first shot is fired.
Nov
12
answered Which is the most practical way to add functionality to this piece of code?
Oct
14
comment Is it bad practice to check object types with an identifying member variable?
sometimes it's the best choice, especially if the behavior is not strictly linked to the class. There's definitely tension between defining behavior by class inheritance verses other means.
Oct
14
answered Is it bad practice to check object types with an identifying member variable?
Oct
10
comment If I try to monetize free software, what could possibly prevent someone from forking that software and creating a proprietary version?
@andresf My point is that choice of license is like choosing what color shirt to wear. All choices have the same practical effect.
Oct
10
comment If I try to monetize free software, what could possibly prevent someone from forking that software and creating a proprietary version?
GPL and similar licenses may give you the moral high ground, but good luck doing battle to stop pirates with profits from your position of moral but poor.
Sep
28
answered Obscurity of Lisp in collaborative projects
Sep
6
comment How do programming languages define functions?
One concrete example is worth 1000 pages of explanation. You should get a tiny language implementation and study it. I recommend lisp or forth.
Sep
3
answered Does Lisp still have any special feature which has NOT been adopted by other programming languages?
Sep
2
answered Should I commit my generated parser to source control?
Aug
21
answered How to handle divide by zero in a language that doesn't support exceptions?
Aug
14
answered How to handle assumptions while designing any system?
Aug
9
awarded  Yearling
Aug
3
answered Flat addressing vs. segmented addressing
Jul
31
answered Garbage collectors and pointers/ reference
Jul
21
answered How should I store an old project?