-- Load a sprite stored in a .txt file function load_termbox_sprite(file_name) file = io.open(file_name, "r"); io.input(file); local contents = io.read("*a"); io.close(file); return contents; end OCT_TYPE_SERVER = 1; OCT_TYPE_CLIENT = 2; OCT_NEEDS_TERMBOX = 1; OCT_NOT_NEEDS_TERMBOX = 0;