Files
  • main.lua
main.lua
1
2
3
4
5
6
function f(w,h)function g(s)return '|'..s:rep(w-2).."|\n"end b=g'-'print(b..g" ":rep(h-2)..b.."\n")end

f(3,3)
f(5,3)
f(5,5)
f(30,30)