feat: add ability to move piece with arrow keys
This commit is contained in:
11
config.yaml
11
config.yaml
@@ -3,16 +3,15 @@ window:
|
||||
height: 600
|
||||
icon: "img/tetris_icon.png"
|
||||
title: "Tetris"
|
||||
bg-color: "#6495ED" # cornflower-blue
|
||||
|
||||
engine:
|
||||
fps: 60
|
||||
tile-size: 20
|
||||
|
||||
# https://coolors.co/6495ed-ee6352-59cd90-fac05e-dfd9e2
|
||||
# TODO change config color names, should be generic
|
||||
color:
|
||||
cornflower-blue: "#6495ED"
|
||||
fire-opal: "#EE6352"
|
||||
emerald: "#59CD90"
|
||||
maximum-yellow-red: "#59CD90"
|
||||
languid-lavender: "#DFD9E2"
|
||||
base-1: "#EE6352"
|
||||
base-2: "#59CD90"
|
||||
base-3: "#59CD90"
|
||||
border: "#DFD9E2"
|
||||
|
||||
Reference in New Issue
Block a user