Skip to content

Commit

Permalink
Add gliders template
Browse files Browse the repository at this point in the history
  • Loading branch information
veggiedefender committed May 9, 2018
1 parent 2a908ac commit 84e75e0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions gitfiti.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,15 @@
[0,0,2,2,2,2,0,3,3,3,0,0,3,3,3,0,3,3,3,0,3,0,0,3,0],
]

GLIDERS = [
[0,0,0,4,0,4,0,0,0,0,4,0,0,0],
[0,4,0,4,0,0,4,4,0,0,0,4,0,0],
[0,0,4,4,0,4,4,0,0,4,4,4,0,0],
[0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[0,4,0,4,0,0,0,4,0,0,0,0,0,0],
[0,0,4,4,0,4,0,4,0,0,0,0,0,0],
[0,0,4,0,0,0,4,4,0,0,0,0,0,0],
]

ASCII_TO_NUMBER = {
'_': 0,
Expand Down Expand Up @@ -185,6 +194,7 @@ def is_empty_line(line):
'hireme': HIREME,
'oneup_str': ONEUP_STR,
'beer': BEER,
'gliders': GLIDERS,
}


Expand Down

0 comments on commit 84e75e0

Please sign in to comment.