Skip to content

Commit

Permalink
feat: mask array
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixWaweru committed Jun 23, 2023
1 parent a9b528e commit dfe8dfb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions DOOM.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
'''

MASK = [
[0,0,1,1,1,0,0],
[0,1,1,3,1,1,0],
[1,2,2,1,2,2,1],
[1,0,0,2,0,0,1],
[1,1,1,2,1,1,1],
[0,1,0,0,0,1,0],
[0,1,0,0,0,1,0]
[0,0,2,2,2,0,0,0,0,0,2,2,2,0,0,0,0,0,2,2,2,0,0,0,0,0,2,2,2,0,0,0,0,0,2,2,2,0,0,0],
[0,2,2,5,2,2,0,0,0,2,2,5,2,2,0,0,0,2,2,5,2,2,0,0,0,2,2,5,2,2,0,0,0,2,2,5,2,2,0,0],
[2,4,4,2,4,4,2,0,2,4,4,2,4,4,2,0,2,4,4,2,4,4,2,0,2,4,4,2,4,4,2,0,2,4,4,2,4,4,2,0],
[2,0,0,4,0,0,2,0,2,0,0,4,0,0,2,0,2,0,0,4,0,0,2,0,2,0,0,4,0,0,2,0,2,0,0,4,0,0,2,0],
[2,2,2,4,2,2,2,0,2,2,2,4,2,2,2,0,2,2,2,4,2,2,2,0,2,2,2,4,2,2,2,0,2,2,2,4,2,2,2,0],
[0,2,0,4,0,2,0,0,0,2,0,4,0,2,0,0,0,2,0,4,0,2,0,0,0,2,0,4,0,2,0,0,0,2,0,4,0,2,0,0],
[0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,2,0,0]
]

ASCII_TO_NUMBER = {
Expand Down

0 comments on commit dfe8dfb

Please sign in to comment.