<< Back to Programming Forum   Search

Posts 1 - 26 of 26   
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 13:23:13

unknownsoldier 
Level 57
Report
This is testing of clot code for a tournament that uses the swiss matching system.

games are strategic 1v1 map, with reinf card, and 75% luck.

each round, YOU HAVE to join games within 15 minutes of the game being auto-created.

go to:
https://warlight001.appspot.com/
to join.

please only join if you are prepared to play the 4 rounds of games.

games start at 14:00 gmt provided we have at least 8 players.
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 13:44:36

unknownsoldier 
Level 57
Report
4 players have joined. we need 4 more to start.

maximum 16 players in total.
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 13:46:31


sasha grey
Level 54
Report
+3
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 13:59:19


sasha grey
Level 54
Report
started :)
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 14:00:20

unknownsoldier 
Level 57
Report
tourney has started. 8 players joined.

see your game list for the game that the server has invited you to.
please join your games quickly, and play them at a reasonably fast rate. thanks :)

good luck all
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 14:10:56


[WM] Gnuffone 
Level 60
Report
damn too late =(
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 14:19:24


Titron
Level 41
Report
My partner is not active :(

I'm waiting since 20 Minutes...
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 14:23:12

unknownsoldier 
Level 57
Report
titron, that game has been logged by the tourney as a win for you.
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 14:23:39

unknownsoldier 
Level 57
Report
so currently you are ranked #1 :)
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 14:27:38


Titron
Level 41
Report
At least, everyone can wine one time ;)
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 14:28:05

Grzechooo 
Level 30
Report
Something is quite not right with the site, ie. it doesn't display Δίας nickname (and it's missing from game name too...)
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 14:29:50

unknownsoldier 
Level 57
Report
round 1 finished. your round 2 games were auto-created :)
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 14:35:54

unknownsoldier 
Level 57
Report
hi grzechoo - the base code died on non-acsii characters. so i strip them from the name.

the 'greek' player is nothing but non-ascii characters :/

does not affect anything else though.
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 14:49:13

unknownsoldier 
Level 57
Report
gnuffone - maybe next time a announce the tourney a few hours in advance?

this one is my 2nd test run, so i just started it small and quick.
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 14:59:55

unknownsoldier 
Level 57
Report
round 2 finished, 2 more to go.
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 15:23:00

unknownsoldier 
Level 57
Report
round 3 finished. onto the final round.
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 15:51:45

unknownsoldier 
Level 57
Report
Tourney has finished. Congratulations to sasha grey!
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 15:53:46


sasha grey
Level 54
Report
yay
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 15:56:47

Fizzer 
Level 58

Warzone Creator
Report
unknown: You don't need to pick the winner randomly if a game doesn't start. You can tell who didn't join by looking at data returned from QueryGame

Example: http://warlight.net/API/GameFeed?GameID=1212978

In the "players" node, each player will have a state. If it's "Invited" it means they never joined the game. If it's "Playing" it means they joined. You can also check for "Declined" in case someone declines for some reason.

I think in the next update I'm going to add an API for deleting games still in the lobby, so after marking the game as finished you can also just delete it so there's no confusion that it doesn't count.
swiss-style tournament. real time, starts 14:00 GMT. please join.: 12/24/2012 15:59:35

unknownsoldier 
Level 57
Report
Really? Great :) Then I will add that and everything is just perfect.
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 58

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 1 - 26 of 26