Re: CLI for probing turn status
If you have logging turned on and going to a file then doing a "tail" of that log shows this....
Fast2, Connections 1, Time 21h (quick host)
Er- Ul- Ti- Mi- Ct- *Yom-
That says no one has done the turn (the - changes to a + when a turn is turned in) and it shows that Yom is connected.
There is alot of info there. Just a CGI to tail -1 of the log shouldnt be hard. Parsing that into an html wouldnt be too difficult either. Adding abit of scripting to change it into something more readable might even be fun.
Adding icons for all of the nation flags and turning them into flags with an X on it, adding the chain links for a connection, etc so that it looks like people see at their end would be possible.
Adding a countdown clock till the next hosting, adding clouds or frowny faces to the ones that are close to getting a stale turn, all of that would be possible. Insane, but possible.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|