c1_lua/lua/main.lua
2023-04-03 10:59:13 +08:00

35 lines
808 B
Lua

--[[
_ooOoo_
o8888888o
88" . "88
(| -_- |)
O\ = /O
____/`---'\____
.' \\| |// `.
/ \\||| : |||// \
/ _||||| -:- |||||- \
| | \\\ - /// | |
| \_| ''\---/'' | |
\ .-\__ `-` ___/-. /
___`. .' /--.--\ `. . __
."" '< `.___\_<|>_/___.' >'"".
| | : `- \`.;`\ _ /`;.`/ - ` : | |
\ \ `-. \_ __\ /__ _/ .-` / /
======`-.____`-.___\_____/___.-`____.-'======
`=---='
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
佛祖保佑! 永无BUG!
]]
local function main()
collectgarbage("setpause", 100)
collectgarbage("setstepmul", 5000)
math.randomseed(tonumber(tostring(os.time()):reverse():sub(1,6)))
Game = require "app/game"
Game:initBase()
Game:start()
end
main()