This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
# Intro | |
Script to run to get new content for SL page [Chinese Go Terms / English to Chinese](https://senseis.xmp.net/?ChineseGoTerms%2FEnglishToChinese). | |
# Usage instructions (for Firefox): | |
1. Open the parent SL page _in edit mode_: | |
https://senseis.xmp.net/?edit=ChineseGoTerms§ion=1 | |
in Dev Tools window | |
2. Press F12 to open the Developer Tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
# Purpose | |
This script produces some statistics on wins/losses for toroidal go, for a given player (A), in LittleGolem. | |
Part of the info copied to the clipboard is the list of players (B) where B has either (1) beaten A at least once, | |
(2) has played at least 3 games against A (by default, players B with 0 wins against A are not included) | |
The output format of this list is: | |
``` | |
[player B's name]([player B's rank]): [nb of losses against B (games won by B and lost by A)]/[nb of wins against B (games won by A and lost by B)] (percentage) |