Add gliders template

This commit is contained in:
Jesse Li
2018-05-09 13:00:45 -04:00
parent 2a908acf05
commit 84e75e0b87

View File

@ -134,6 +134,15 @@ BEER = [
[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,
@ -185,6 +194,7 @@ IMAGES = {
'hireme': HIREME,
'oneup_str': ONEUP_STR,
'beer': BEER,
'gliders': GLIDERS,
}