app changes

This commit is contained in:
kepler155c@gmail.com
2019-01-17 23:33:43 -05:00
parent fc4514b6e2
commit 8fed8618d3
3 changed files with 34 additions and 4 deletions

23
games/ccTunes.lua Normal file
View File

@@ -0,0 +1,23 @@
local Sound = require('sound')
local os = _G.os
local tunes = {
'record.11',
'record.13',
'record.blocks',
'record.cat',
'record.chirp',
'record.far',
'record.mall',
'record.mellohi',
'record.stal',
'record.strad',
'record.wait',
'record.ward',
}
while true do
Sound.play(tunes[math.random(1, #tunes)])
os.sleep(120)
end

View File

@@ -1,7 +1,17 @@
{
[ "GENERATE-ME" ] = {
[ "462e1d985e9adb99f4bbb4455d99329900450224" ] = {
title = "SameGame",
category = "Games",
run = "sameGame.lua",
},
[ "f6a5201214fb1981e6d46a39303bb676325eb59b-ME2" ] = {
title = "Othello",
category = "Games",
run = "http://pastebin.com/raw/rMeh1Kag",
},
[ "785af2a4ad3c4ee912623c6e0b6d4299ea305bf6" ] = {
title = "Pipes",
category = "Games",
run = "https://pastebin.com/raw/skcs9x1s",
},
}

View File

@@ -87,9 +87,6 @@ function newGame()
redraw()
end
function redraw()
redraw_term(term)
end
function redraw_term(term)
if best_score_view then
term.setCursorPos(1,1) term.write(" [ BACK ]")
else