Skip to content

Instantly share code, notes, and snippets.

@adamgibbons
Last active August 29, 2015 14:15
Show Gist options
  • Save adamgibbons/049072e31c31188ce5cd to your computer and use it in GitHub Desktop.
Save adamgibbons/049072e31c31188ce5cd to your computer and use it in GitHub Desktop.
Electrons in universe vs Go board configurations
(function totalElectrons() {
var total = Math.pow(10, 88); // 1.0000000000000001e+88
console.log(total + ' electrons in the universe');
})();
(function totalGoConfigurations() {
// 19 x 19 grid and three possibilities per
// intersection (black stone, white stone, empty)
var total = Math.pow(3, 19 * 19); // 1.740896506590319e+172
console.log(total + ' possible configurations on a Go board');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment