Hello! I've been sitting on this for awhile. I mostly built it so my cousin and I could play against each other (both long time fans of the classic variant). The source is here: https://github.com/binarymax/kriegspiel
This needs some easy way to try it out. Or at least some screenshots right on the landing page.
I don't really know what kind of game this is just by going to the url, and I am surly not registering at some site without having some solid idea that I will use it more than once.
Does anybody know the etymology of "Kriegspiel"? All I find are references to "Kriegsspiel" but nobody explains where the 's' went. Was it just a misspelling by those who popularized it?
No no, actually the first s is /s/ i.e. voiceless as in "sea" or "pass", so the complete transcription should be /kʀiːksʃpiːl/. The transition between the /s/ and /ʃ/ is then just making your lips round for the /ʃ/ after the wide and flat /s/. It is still not as easy as just leaving it out, but it is whole lot more doable.
German is tricky that way. In this case the literal translation of "war game" does not exist because to the German ear those two words must be expressed in a way that suggests a relationship between them. The additional "s" accomplishes that, in essence the phrase becomes a contraction of Krieg's-Spiel (apostrophe added for better readability) which is a special short form that developed from "Spiel des Kriegs" or, translated, "game of war".
That said, as a project name Kriegspiel is totally fine. :)
Hi All. Server is getting absolutely pummelled right now. If you get stuck in a game, you can hit 'refresh' and it should come back. Thanks for playing!
Technicals: It is a medium EC2 running a single node process with socket.io. Database is an EC2 micro running rethinkdb.
--EDIT-- Replay functionality seems to be down entirely due to load. Games are still running though.
--EDIT2-- Replays are back up! Just need to wait a while. For those who are discouraged by the signup - I understand, but due to the nature of the game it is necessary to prevent cheating. Email is not required. Feel free to create a random string as a username and password if you want to give it a try.
Trying to figure that out now. DB seems spiffy, and express is logging requests just fine. Thats the trivial stuff - now I need to start getting my hands dirty.
EDIT - OK serious issues now. getting a range error on redis and the call stack is blowing out, recycling node every 15 seconds or so. Will let you know when its back up.
EDIT2 - Turned out to be an exception due to an invalid date string. Fixed!
Yes good point - I might be able to make that work if I spent the time to perfect it, but I'm not a security guy so there was the off chance I might overlook something.
There were couple other good reasons for the signup given my initial target demographic of two people :). And you may have also noticed that everyone gets an Elo rating if you visit /spielers.html
As a side project I weighed the options and just chose to have signups rather than complicate the issue. They can be purely anonymous, and it makes it easier for me to manage. If it is really a stopping point for losing potential players I am willing to live with that.
On a side note - I'm very glad to see you are enjoying the game. You've played almost as many games as me in 1/100th the time!
really really nice! thanks for creating it. the problem with the "hanging" games must be fixed though. you definately need clocks. so the enemy canmot think forever.
39 comments
[ 4.7 ms ] story [ 71.8 ms ] threadI don't really know what kind of game this is just by going to the url, and I am surly not registering at some site without having some solid idea that I will use it more than once.
You're technically missing an second s: http://en.wikipedia.org/wiki/Kriegsspiel_(wargame)
http://en.wikipedia.org/wiki/Kriegspiel_(chess)
I'm not saying that's why this alternate spelling has arisen, but it could be a transcription of a mispronunciation.
[0] IPA /ʃp/ rather than /sp/ because initial 'sp' in german is pronounced that way. I don't know if this rule has a name... "post-alveolarization"?
That said, as a project name Kriegspiel is totally fine. :)
Clean interface, fun concept.
Technicals: It is a medium EC2 running a single node process with socket.io. Database is an EC2 micro running rethinkdb.
--EDIT-- Replay functionality seems to be down entirely due to load. Games are still running though.
--EDIT2-- Replays are back up! Just need to wait a while. For those who are discouraged by the signup - I understand, but due to the nature of the game it is necessary to prevent cheating. Email is not required. Feel free to create a random string as a username and password if you want to give it a try.
EDIT - OK serious issues now. getting a range error on redis and the call stack is blowing out, recycling node every 15 seconds or so. Will let you know when its back up.
EDIT2 - Turned out to be an exception due to an invalid date string. Fixed!
or was it the other pieces in your stack that caused the bottleneck.
BTW, great idea.
Can you please elaborate on why you believe signup is necessary to prevent cheating?
There were couple other good reasons for the signup given my initial target demographic of two people :). And you may have also noticed that everyone gets an Elo rating if you visit /spielers.html
As a side project I weighed the options and just chose to have signups rather than complicate the issue. They can be purely anonymous, and it makes it easier for me to manage. If it is really a stopping point for losing potential players I am willing to live with that.
On a side note - I'm very glad to see you are enjoying the game. You've played almost as many games as me in 1/100th the time!
Yes I really like it! I hope you will be able to keep enough players around.
1. Add a turn indicator or a "waiting for opponent" message of some sort.
2. Make it clear in-site that you can refresh and still get the same game.
Definitely need to improve the instructions - such as your second point. Also the game-join logic is kinda wacky.
Thanks for the feedback - really glad you like it!
"AI a Modern Approach" has a nice section on the game if anyone wants to read up on AI a bit.
My favorite, however, was Kung Fu Chess, at kungfuchess.com . Whatever happened to that?
[0] https://github.com/valtron/fog