diff --git a/games/ccTunes.lua b/games/ccTunes.lua new file mode 100644 index 0000000..8688dc1 --- /dev/null +++ b/games/ccTunes.lua @@ -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 diff --git a/games/etc/apps.db b/games/etc/apps.db index 87ee2f2..91ce470 100644 --- a/games/etc/apps.db +++ b/games/etc/apps.db @@ -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", + }, } diff --git a/games/sameGame.lua b/games/sameGame.lua index 8a28e81..62710a4 100644 --- a/games/sameGame.lua +++ b/games/sameGame.lua @@ -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