4,631 reputation
11124
bio website vyznev.net
location Helsinki, Finland
age
visits member for 2 years, 8 months
seen 13 hours ago

I like programming in Perl and C. I know Java and PHP too (I'm a MediaWiki developer), but I can't really say I like them. I keep meaning to learn Python some day, but never seem to get around to it.

I'm working on a Ph.D. in biomathematics. I also like programming puzzles and cryptography.

Please consider any (original) code I post to Stack Overflow (and other Stack Exchange sites) to be released under CC-Zero unless stated otherwise. You may do whatever you want with it and don't have to credit me in any way, although of course that would be nice.


Dec
5
revised isometric drawing order with larger than single tile images - drawing order algorithm?
expand answer, add picture
Dec
5
answered isometric drawing order with larger than single tile images - drawing order algorithm?
Dec
2
answered Basic modelling of radar
Dec
1
answered Efficient Algorithm for Recording gameplay's objects positions
Dec
1
comment How to prevent a hacked-server from spoofing a master server?
You could avoid the DoS issue by requiring audit logs to be submitted unless all players submit a result and agree on it. However, another issue is that a player who realized they were losing could simply drop out of the game. You could rule that dropping out means losing, but then a player could make it look like their opponent was the one who dropped out by appending an extra move to their audit trail. One way around that would be to allow players to download the submitted audit trails and later amend their own, but that could result in some rather drawn-out games.
Dec
1
awarded  Custodian
Nov
30
comment How to prevent a hacked-server from spoofing a master server?
@Cody: I've given two answers below, based on different interpretations of your question. Could you please let me know which one (if either) is closer to what you wanted to ask?
Nov
30
answered How to prevent a hacked-server from spoofing a master server?
Nov
30
revised How to prevent a hacked-server from spoofing a master server?
added 112 characters in body
Nov
30
comment How to prevent a hacked-server from spoofing a master server?
@Bane: You may be right. I interpreted the phrase "spoofing the master server" in the question as "pretending to be the master server", but after re-reading the question, I can see that he might have meant "sending fake data to the master server" instead. You're right that digital signatures won't help in any way against that.
Nov
30
answered How to prevent a hacked-server from spoofing a master server?
Nov
29
comment Seamless transition between planet and space
Perhaps this post from the Infinity developers might help.
Nov
29
comment How to account for speed of the vehicle when shooting shells from it?
@JohnMurdoch: Multiply the desired velocity change by the mass of the projectile to get the needed impulse. But that's kind of silly, since the physics engine will just divide the impulse by the mass to get the velocity change again.
Nov
28
answered Which Open Source Licenses can address concerns for an Open Source Game Engine?
Nov
26
comment Rendering 8 bit graphics
@Matjaz: Very much like sprites. That word meant something different long before 3D graphics accelerators came along.
Nov
23
answered How to create realistic 2d lighting using colour temperature
Nov
21
awarded  Enthusiast
Nov
19
answered What are the most common AI systems implemented in Tower Defense Games
Nov
19
awarded  Nice Answer
Nov
18
answered Pathfinding for fleeing