tetris: display score and level #421
parent
4afa02a44f
commit
34e4a5dbb9
@ -0,0 +1,5 @@
|
|||||||
|
void UpdateScore(){
|
||||||
|
if(scoreplane_->printf(0, 0, "level: %02d score: %ju", level_, static_cast<uintmax_t>(score_)) < 0){
|
||||||
|
throw TetrisNotcursesErr("printf()");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue