nsnake/config.h
2021-09-17 22:35:02 -05:00

21 lines
397 B
C

#ifndef CONFIG_H
#define CONFIG_H
// Keybinds
#define up_key 'k'
#define down_key 'j'
#define right_key 'l'
#define left_key 'h'
#define quit_key 'q'
// The starting legnth of the snake
static const size_t starting_len = 15;
// Speed of snake (milliseconds between moves)
static const int screen_speed = 150;
// Character for each snake segment
static const char snake_ch = '#';
#endif