Skip to content
Little GolemMake your next move.

Win-loss records

Public forum discussion.

General

#1 · Alan Hensel

10 Apr 2011

I originally posted this as a reply in the Twixt forum, but it works for all games at Little Golem.

I've written a little browser extension that modifies the Player Game List page to summarize the data as win-loss records. It also lets you filter the game list by opponent.

Here is a screenshot:

(The extension gives you the white table on the right; clicking on the "<<" filters the game list. Click on the "all" at the top to restore the full list.)

The extension requires that your web browser be Google Chrome, or Firefox with the GreaseMonkey add-in installed. It might be possible to make it work with other browsers, but I have not tested it. You do need to have JavaScript enabled.

If you have met the requirements, you can click here to install: LG Record

Have fun.

(Now I hope Richard will make it obsolete ;-)

(I also hope this will inspire others to write more LG extensions :-)

#2 · mungo

10 Apr 2011

Well done! Thanks

#3 · KPT

10 Apr 2011

Thanks a lot Alan!!!

Great job.

#4 · David J Bush

11 Apr 2011

That's fantastic Alan, many thanks. LG USED to have something like this, BTW, but it was removed because it was too much load on the server or something like that.

#5 · kfiecio

11 Apr 2011

Great job. Personally I prefer Opera but I installed Firefox and the GreaseMonkey just to use this script. I hope it will be available some day for everyone. As for putting load on the server. I think this script just work on the data from the list game and do not send additional request to the server so it is not a problem in this case.

I have some propositions for the improvements:

1. Add a column with rating of the player or put it in the form player_name (1857) in the opponent column. I think it is relatively easy to do that.

2. Add a possibility to sort the list by player name and rating of the opponents. Useful if someone have 1000s of games and 100s of opponents. I realize that this will require more work than the first one.

#6 · MRFvR

26 Apr 2011

I second kfiecio's "great job"! I found chess records a little confusing since some lines there are two numbers (like 2-1) and sometimes three (1-0-3).

#7 · pfafulous

26 Apr 2011

So now you have access to all my browsing? Hmm.

#9 · beppi

26 Apr 2011

Really nice extension!! I just discovered that Looser beat me in Street Soccer 26-2... argh!

#10 · Nevermind

26 Apr 2011

The StreetSoccer record was never really accurate, so the record you have might actually be wrong.

#11 · Nevermind

26 Apr 2011

Thanks Alan, anyway! [I will nevertheless witch off JavaScript after playing around a bit.]

#12 · Luca Bruzzi

29 Apr 2011

I'm agree with Nevermind. The StreetSoccer record are wrong

#13 · z

30 Apr 2011

Great job! Thanks for sharing the code.

Nitpick: Player's name is not guaranteed to be unique. Using that as a hash key may cause collisions.