1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples/tetris: use better unique colors, implement game over/pause

This commit is contained in:
Nicolas Sauzede
2019-08-17 01:56:09 +02:00
committed by Alexander Medvednikov
parent 49205dcce3
commit 4760fea489
3 changed files with 54 additions and 23 deletions

View File

@@ -35,7 +35,7 @@ import const (
)
import const (
GLFW_KEY_ENTER
GLFW_KEY_SPACE
GLFW_KEY_A
GLFW_KEY_B
GLFW_KEY_P
@@ -49,7 +49,6 @@ import const (
GLFW_KEY_Z
GLFW_KEY_UP
GLFW_KEY_DOWN
GLFW_KEY_UP
GLFW_KEY_LEFT
GLFW_KEY_RIGHT
GLFW_KEY_BACKSPACE