-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.cs
31 lines (24 loc) · 834 Bytes
/
Config.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Core;
namespace Config
{
public static class Cfg
{
public static int SCORE = 0;
public static int HIGH_SCORE = 0;
public static bool GAMEOVER = false;
public static int RENDER_DELAY = 450;
public static Position UI_RENDER_POSITION = new Position(0, SCENE_HEIGHT + 1);
public static int SCENE_WIDTH = 30; //Playing field width
public static int SCENE_HEIGHT = 15; //Playing field height
public static char CHR_WALL = ':';
public static char CHR_SNAKE = '.';
public static char CHR_HEAD = 'o';
public static char CHR_APPLE = 'e';
public static ConsoleKey CURRENT_KEY = ConsoleKey.RightArrow;
}
}