FreeKill/lua/freekill.lua
Notify-ctrl 58ea0ca80a
Role & Seat (#6)
* standard generals

* assignrole

* arrangeSeat

* fix bugs
2022-03-28 22:24:30 +08:00

32 lines
646 B
Lua

-- Fundemental script for FreeKill
-- Load mods, init the engine, etc.
package.path = package.path .. ";./lua/lib/?.lua"
.. ";./lua/?.lua"
-- load libraries
class = require "middleclass"
json = require "json"
require "sha256"
Util = require "core/util"
math.randomseed(os.time())
DebugMode = true
function pt(t)
for k, v in pairs(t) do
print(k, v)
end
end
-- load core classes
Engine = require "core/engine"
Package = require "core/package"
General = require "core/general"
Card = require "core/card"
Skill = require "core/skill"
Player = require "core/player"
-- load packages
Fk = Engine:new()