Zhang Xin yu
/
ZhangXinyu201090208
zhangxinyu01text
Diff: cxkEngine/cxkEngine.cpp
- Revision:
- 21:a5292aacb38f
- Parent:
- 20:5efed4030c7b
- Child:
- 23:b9b98e400e8b
--- a/cxkEngine/cxkEngine.cpp Mon May 06 07:32:01 2019 +0000 +++ b/cxkEngine/cxkEngine.cpp Mon May 06 07:50:40 2019 +0000 @@ -49,7 +49,11 @@ int cxkp_score = _cxkp.get_score(); // ball _ball.draw(lcd); - + if (cxkp_score >= 30) { + lcd.printString("Congratulations",0,1); + lcd.printString(" u win CXK",0,2); + lcd.printString("GAME OVER",0,4); + lcd.refresh(); } }