Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tokaido Analysis

This repository contains tools to analyze the board game tokaido. This article discusses the code and results for collecting bga arena mode games.

To collect bga data, you must include a file accounts.py that defines ACCOUNTS = [(email1, password1), (email2, password2), ...]. Be mindful that scraping can incur significant costs for the website. Please contact a bga admin before attempting to use this code for scraping.

The following produces the data and results used in the article:

import bga_scraping as bga
import arena_results as arena
# get all tables with one of the top 10 season 5 arena players
tables = bga.get_top_arena_tables(5, 10)
# save the tables replays
bga.save_table_replays_batch(tables.keys(), 's5-arena')
# make a file with all results and a file with basic statistics
arena.create_results_summary(tables, 's5-arena')

About

Tools to scrape collect and analyze bga Tokaido data

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages