diff options
author | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-02-17 09:41:48 +0200 |
---|---|---|
committer | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-02-17 09:41:48 +0200 |
commit | e785dbd4f726c5716f21071ed25dc35ac87c0c74 (patch) | |
tree | 781373b78380a1ffd1ea8c5dc8ceb2bd313631e9 /board/static.py | |
parent | 4eff4a32cfa594cc2a3df3885de92d407edc6675 (diff) |
Dev tools and directory structure rework.
Diffstat (limited to 'board/static.py')
-rw-r--r-- | board/static.py | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/board/static.py b/board/static.py deleted file mode 100644 index 4804ded..0000000 --- a/board/static.py +++ /dev/null @@ -1,34 +0,0 @@ -""" board/static.py - määrittelyjä pelilaudan muuttumattomille asoille """ - -from enum import Enum, IntEnum - -class Level(Enum): - """ vaikeustasot """ - BEGINNER = 0 - INTERMEDIATE = 1 - EXPERT = 2 - - -class Tile(IntEnum): - """ alueiden selitteet """ - BLANK = 0 - ONE = 1 - TWO = 2 - THREE = 3 - FOUR = 4 - FIVE = 5 - SIX = 6 - SEVEN = 7 - EIGHT = 8 - MINE = 9 - FLAG_MINE = 10 - FLAG_FREE = 11 - UNOPENED = 12 - FLAG_UNKNOWN = 13 - - -LevelSpecs = { - Level.BEGINNER: ( 9, 9, 10, "Aloittelija"), - Level.INTERMEDIATE: ( 16, 16, 40, "Keskivaikea"), - Level.EXPERT: ( 30, 16, 99, "Edistynyt") -} |