Pong: Keep display on during game

pull/505/head
Erik Andresen 2020-06-14 19:00:02 +02:00
parent 7b59f2f821
commit 4635cd92bc
3 changed files with 3 additions and 1 deletions

View File

@ -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",

View File

@ -1,2 +1,3 @@
0.01: New App!
0.02: 2 players local + improve ai
0.03: Keep display on during gameplay

View File

@ -337,6 +337,7 @@ function onFrame() {
ai.show();
net();
ball.show();
g.flip()
} else if (state === 3) {
g.clear();
g.setColor(0);