mirror of https://github.com/espruino/BangleApps
Pong: Keep display on during game
parent
7b59f2f821
commit
4635cd92bc
|
@ -1541,7 +1541,7 @@
|
|||
"name": "Pong",
|
||||
"shortName": "Pong",
|
||||
"icon": "pong.png",
|
||||
"version": "0.02",
|
||||
"version": "0.03",
|
||||
"description": "A clone of the Atari game Pong",
|
||||
"tags": "game",
|
||||
"type": "app",
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
0.01: New App!
|
||||
0.02: 2 players local + improve ai
|
||||
0.03: Keep display on during gameplay
|
||||
|
|
|
@ -337,6 +337,7 @@ function onFrame() {
|
|||
ai.show();
|
||||
net();
|
||||
ball.show();
|
||||
g.flip()
|
||||
} else if (state === 3) {
|
||||
g.clear();
|
||||
g.setColor(0);
|
||||
|
|
Loading…
Reference in New Issue