Skip to content

Instantly share code, notes, and snippets.

@jcbozonier
Created August 8, 2018 11:24
Show Gist options
  • Save jcbozonier/d4398c7ea0cde1edd19ca48e852c3d84 to your computer and use it in GitHub Desktop.
Save jcbozonier/d4398c7ea0cde1edd19ca48e852c3d84 to your computer and use it in GitHub Desktop.
How I represent a Boggle board in code
[
[SL('P'), SL('B'), DL('S'), SL('L')],
[TL('R'), SL('A'), SL('H'), SL('D')],
[SL('B'), SL('E'), SL('C'), TW('P')],
[SL('L'), DW('S'), SL('E'), SL('K')]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment