<< Back to Programming Forum   Search

Posts 21 - 26 of 26   <<Prev   1  2  
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 16:02:56

unknownsoldier 
Level 57
Report
By the way - anyone have any comments/suggestions on this tourney?

Should I set it up as a regular tourney, at a fixed time, or some such?
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 16:12:18


sasha grey
Level 54
Report
history of tournaments + overall statistics would be great :)
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 16:12:18

Heyheuhei 
Level 57
Report
Too late :[
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 16:19:50

Fizzer 
Level 64

Warzone Creator
Report
Instead of a vertical list of games, maybe you can make a table where each round is a column.

"Round One, Round Two, Round Three" across the top and then under each round list all of the games for that round. You can bold the name of each winner, ex: "unknownsoldier vs sasha grey" or just write "unknownsoldier defeated sasha grey"

I'm not sure what the ascii problem was. I'm sure there's a way to fix it but I'm not sure how yet. Do you know what the error you got was?
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 17:49:51

unknownsoldier 
Level 57
Report
Thanks for those.

The ascii problem I wrote about in a previous thread - having non-ascii characters in names caused problems in python - in several places in your original code. e.g. (iirc) in the logging code. So stripping out non-ascii characters seemed the best quick fix.
My guess is that this is why https://lolowuttestclot.appspot.com/ has not got any games started - with the default package the cron just didn't run/finish, but without any message (if you had players with non-ascii chars).

I'll likely be busy now for a couple of days (local religious festival of some sort :) but will make those changes/additions soon and make another tourney.


Also, I have code on github, forked from Fizzer's. It is an embarrassing spaghetti atm, so I won't advertise its location until I have it cleaned up. (If someone really wants it before then, give me a shout (and I'll recommend a good psychiatrist to you)).
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/28/2012 21:47:05

unknownsoldier 
Level 57
Report
Fizzer: you posted that I can see who won a game, who joined, etc.
eg. http://warlight.net/API/GameFeed?GameID=1212978
BUT this is ONLY for finished games.
The problem that I have is that some people do not join games, so the game never starts, let alone finishes. For games that have not finished, all I get is:

{
"termsOfUse": "Please use this data feed responsibly, as it can consume significant amounts of server resources if called repeatedly. After getting the data for a game, please store the data locally so you don't need to retrieve it from the WarLight server again. The format of this data feed may change in the future. The feed requires that you be signed into your member WarLight account to use. If you're trying to access it programmatically, you may POST your username and password to this page in the format Email=your@email.com&Password=yourpassword",
"id": "3634776",
"state": "WaitingForPlayers",
"name": "unknownsoldier vs unknownsoldier_II123",
"numberOfTurns": "-1",
"error": "This can only be used for finished games."
}

So, could your API give out player information for non-finished games?

Thanks
Posts 21 - 26 of 26   <<Prev   1  2