{{ message }}

Instantly share code, notes, and snippets.

# Sean McCullough banksean

Created Aug 16, 2020
View keybase.md

### Keybase proof

I hereby claim:

• I am banksean on github.
• I am banksean (https://keybase.io/banksean) on keybase.
• I have a public key whose fingerprint is 3E99 FD28 9011 FC06 BD23 5F95 8B27 DB6A 1F6D 6497

To claim this, I am signing this object:

Last active Feb 14, 2018
View ints.go
 type scoreInt uint64 var ( // If you think I came up with these values by hand... LOL // // Each bit in a value represents the presence or absence // of a score multiplier in the 8x8 upper-left corner of // the board. TWInt = scoreInt(0x8000000000000081) DWInt = scoreInt(0x100000810204000)
Last active Feb 14, 2018
View literal.go
 // I was going to use slices, but hey I'm lazy why not let the compiler // verify that I put the right number rows and columns in? type literalBoard [8][8]ScoreType var ( LiteralBoard = literalBoard{ {TW, None, None, DL, None, None, None, TW}, {None, DW, None, None, None, TL, None, None}, {None, None, DW, None, None, None, DL, None}, {DL, None, None, DW, None, None, None, DL},
Last active Feb 14, 2018
View conditional.go
 // ScoreAtConditional uses a series of conditional checks to determine what a // particular square's score multiplier is. func ScoreAtConditional(x, y int) ScoreType { // Symmetric adjustments if x or y > 7 to simplify checks below. if x > 7 { x = 14 - x } if y > 7 { y = 14 - y
Last active Aug 29, 2015
designer
View designer.html

Last active Aug 29, 2015
designer
View designer.html

Last active Aug 29, 2015
designer
View designer.html

Created Mar 10, 2015
designer
View designer.html

Last active Aug 29, 2015
designer
View designer.html

Created Aug 21, 2010
View λ.html
 λ in JavaScript