init
This commit is contained in:
7
apps/worm.lua
Normal file
7
apps/worm.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
local compat = require("libs.compat")
|
||||
local window = require("libs.window")
|
||||
local x, y = term.getSize()
|
||||
local win = window.create("Worm", x / 1.4, y / 1.4, x / 2 - ((x / 1.4) / 2), y / 2 - ((y / 1.5) / 2))
|
||||
sleep()
|
||||
compat.runFile("/rom/programs/fun/worm.lua", win)
|
||||
win.close()
|
||||
Reference in New Issue
Block a user