Last active
August 29, 2015 14:15
-
-
Save adamgibbons/049072e31c31188ce5cd to your computer and use it in GitHub Desktop.
Electrons in universe vs Go board configurations
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
(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