Reputation
3,216
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
4 13
Newest
 Nice Answer
Impact
~165k people reached

  • 0 posts edited
  • 0 helpful flags
  • 32 votes cast
1d
comment Evaluation function for games
If you're trying to make 4 in a row, and a row already contains both colors, that row won't win for either player. So having 3 on that row would be useless...
1d
comment Evaluation function for games
In this context, Black and White are just names, not colors. Substitute Bob and Alice if you're confused.
2d
comment Evaluation function for games
once the factor is in the evaluation, it's customary to experiment to see what weight it should have, and by implication if it should be positive or negative. There are many pitfalls, but start by playing white with zero weight against black with positive weight, and see which wins.
2d
answered Evaluation function for games
May
24
answered How do I deal with the following technical issue?
May
22
answered How to determine if set of ordered coordinates form a simple curve?
May
21
answered Is it worth to rewrite the logic that already done client side on the server side or vice versa?
May
7
answered How to work on a program from any computer that is connected to the internet?
May
1
answered How to add a property to an object you can't change?
Apr
6
awarded  Nice Answer
Mar
15
answered Do bare computer systems (without OS installed) use (executable) files?
Mar
11
comment Enums in java switch-statements and completeness
Likewise, because classes are compiled independently, the enum class can be extended and recompiled long after the switch was compiled, which could create an undefined result if there were no default clause in the switch.
Mar
11
comment Enums in java switch-statements and completeness
enums can not only be null, but switch(enum) will get a null pointer exception if it is.
Mar
3
comment Java Start JNLP without paying to certificate authority?
Self-signed certs are just as effective, but not accepted. The only thing "real" certs certify is that you paid the cert authority.
Feb
11
answered Are websites hosted in distant servers slower?
Feb
4
comment Overriding equals() method in Java
Implementing equals and hashcode allows interning complex objects using hashtables.
Oct
8
answered Is it possible/good idea to reduce chance of crashing by catching Error?
Oct
5
answered How do I handle a spam server invalidating my tokens?
Sep
30
answered Java Serialization for long-ish-term storage
Sep
28
comment Duplicate Account Detection - New Approach?
There are a lot of things you can do to detect suspected cheaters and deter them, but when the iron fist descends, they all deny it. How about publishing a "cheater index" right alongside the rankings?