pcb and initial code from https://github.com/das-labor/borgware-2d.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
145 B
11 lines
145 B
#include "score.h"
|
|
static uint16_t score = 0;
|
|
void score_add (uint8_t in_score)
|
|
{
|
|
score += in_score;
|
|
}
|
|
|
|
uint16_t score_get()
|
|
{
|
|
return score;
|
|
}
|
|
|