⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 display.h

📁 snake game in avr snake game in avr
💻 H
字号:
/*
** display.h
**
** Written by Peter Sutton - October 2004
** 
*/


/*
** Initialise the screen and draw a border around where the pieces
** will fall. Serial IO must be initialised before calling this.
*/
void init_screen(void);

/*
** Move to a given position on the screen, delete to the end of
** the current line and output the given value.
*/
void output_score(void);

/*
** Outputs data to the board
*/

void display_food_at(int8_t x, int8_t y);

void display_snake_at(int8_t x, int8_t y);

void display_blank_at(int8_t x, int8_t y);

/*
** Output a game over message
*/
void game_over_message(void);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -