All you wanted to know about the Countdown TV show numbers game but were too afraid to ask.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE.md
README.md
analyze_data.py
count_games.py
countdown-csv.7z
countdown-data.7z
countdown_stats.py
game_solver.py
lang_analysis.py
postprocess_stats.py

README.md

What is this?

Code and data for analyzing the Countdown TV show numbers game. Full info at http://www.daitx.com/2016/04/28/countdown-math/

Data files

  • countdown-data.7z: this contains a series of text files, one for each large numbers count (so stats0.txt is data for games with 0 large numbers and 6 small, stats1.txt is data for games with 1 large number and 5 small, and so on). The first line is all canonical games with their respective frequency, in a compressed representation format. The following lines have information for one game in each. In order (separator is a '#'): numbers involved in that game, frequency of that game, accumulated frequency of solvable games since the beginning of the file, Python dict representation where the key is the target number and the value is a solution in RPN notation.
  • countdown-csv.7z: contains one compressed CSV file just with frequency and solvability (yes/no -> 1/0) information for each game and target between 90 and 1009.

Author

Henrique Daitx

License

Open sourced under the MIT license.