This script monitors the active games of a specific player on OGS (Online Go Server) and updates a configuration file based on the opponent's rank.
requests
library (can be installed using pip install -r requirements.txt
)Set Player ID:
player_id
in the main()
function with the OGS player ID you want to monitor.Set Configuration File Path:
config_file_path
variable in the main()
function with the path to the configuration file you want to modify.Fetch Active Games:
Extract Opponent Information:
Update Configuration File:
Continuous Monitoring:
Run the Script:
Execute the script using Python:
python path/to/ELO.py
Script Output:
This script is licensed under the MIT License. See the LICENSE file for more details.
For questions or feedback, please reach out to changcheng6541@gmail.com.