From 3bae12a5c5104e606c6958b8d52ca75c4cbcacba Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Mon, 8 Apr 2024 01:46:43 +0300 Subject: new slicer image --- src/sliceitoff/player/static.py | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/sliceitoff/player/static.py (limited to 'src/sliceitoff/player/static.py') diff --git a/src/sliceitoff/player/static.py b/src/sliceitoff/player/static.py new file mode 100644 index 0000000..415f1cd --- /dev/null +++ b/src/sliceitoff/player/static.py @@ -0,0 +1,35 @@ +""" player.static - static data related to player - now just slicer """ +from dataclasses import dataclass +from display import CGA_COLORS + +@dataclass +class SLICER: + """ Slicer tool """ + DIMENSIONS = (32, 8) + COLORS = [ + CGA_COLORS[0], + CGA_COLORS[15], + CGA_COLORS[9], + CGA_COLORS[14], + CGA_COLORS[12], + CGA_COLORS[4], + (0,0,0,0) + ] + IMAGE = [ + 0,0,0,6,6,6,6,6,6,6,6,6,6,6,0,0, + 0,0,6,6,6,6,6,6,6,6,6,6,6,0,0,0, + 6,6,0,0,0,0,0,6,6,6,6,6,6,0,0,1, + 1,0,0,6,6,6,6,6,6,0,0,0,0,0,6,6, + 6,6,5,5,4,4,0,0,0,0,0,0,0,0,1,1, + 1,1,0,0,0,0,0,0,0,0,4,4,5,5,6,6, + 6,6,5,5,4,4,4,3,4,3,3,2,0,1,1,0, + 0,1,1,0,2,3,3,3,4,3,4,4,5,5,6,6, + 6,6,5,5,4,4,3,4,3,3,3,2,0,1,1,0, + 0,1,1,0,2,3,3,4,3,4,4,4,5,5,6,6, + 6,6,5,5,4,4,0,0,0,0,0,0,0,0,1,1, + 1,1,0,0,0,0,0,0,0,0,4,4,5,5,6,6, + 6,6,0,0,0,0,0,6,6,6,6,6,6,0,0,1, + 1,0,0,6,6,6,6,6,6,0,0,0,0,0,6,6, + 0,0,0,6,6,6,6,6,6,6,6,6,6,6,0,0, + 0,0,6,6,6,6,6,6,6,6,6,6,6,0,0,0 + ] -- cgit v1.2.3