Skip to content

Instantly share code, notes, and snippets.

View Sheepolution's full-sized avatar

Sheepolution Sheepolution

View GitHub Profile
@Sheepolution
Sheepolution / game.txt
Created December 13, 2023 17:17
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[3160,"0",3,"c",156,"0",5,"c",155,"0",5,"c",147,"0",13,"c",144,"0",17,"c",142,"0",19,"c",140,"0",21,"c",138,"0",23,"c",136,"0",9,"c",3,"0",12,"c",135,"0",7,"c",5,"0",14,"c",133,"0",7,"c",6,"0",6,"c",2,"0",6,"c",132,"0",7,"c",7,"0",5,"c",4,"0",5,"c",132,"0",6,"c",7,"0",6,"c",4,"0",5,"c",131,"0",6,"c",8,"0",6,"c",4,"0",5,"c",131,"0",6,"c",8,"0",5,"c",5,"0",5,"c",130,"0",6,"c",9,"0",5,"c",5,"0",5,"c",130,"0",6,"c",9,"0",5,"c",5,"0",5,"c",129,"0",6,"c",10,"0",5,"c",5,"0",5,"c",129,"0",6,"c",11,"0",3,"c",5,"0",6,"c",129,"0",5,"c",20,"0",6,"c",129,"0",5,"c",19,"0",6,"c",130,"0",5,"c",19,"0",6,"c",129,"0",6,"c",18,"0",6,"c",130,"0",6,"c",18,"0",6,"c",130,"0",5,"c",18,"0",6,"c",131,"0",5,"c",18,"0",6,"c",131,"0",5,"c",17,"0",6,"c",132,"0",6,"c",16,"0",6,"c",132,"0",6,"c",14,"0",7,"c",134,"0",6,"c",11,"0",9,"c",134,"0",7,"c",8,"0",10,"c",136,"0",10,"c",2,"0",11,"c",137,"0",22,"c",139,"0",19,"c",142,"0",16,"c",146,"0",12,"c",152,"0",6,"c",625,"0",3,"c",156,"0",5,"c",155,"0",
@Sheepolution
Sheepolution / game.txt
Created December 13, 2023 17:18
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[3160,"0",3,"c",156,"0",5,"c",155,"0",5,"c",147,"0",13,"c",144,"0",17,"c",142,"0",19,"c",140,"0",21,"c",138,"0",23,"c",136,"0",9,"c",3,"0",12,"c",135,"0",7,"c",5,"0",14,"c",133,"0",7,"c",6,"0",6,"c",2,"0",6,"c",132,"0",7,"c",7,"0",5,"c",4,"0",5,"c",132,"0",6,"c",7,"0",6,"c",4,"0",5,"c",131,"0",6,"c",8,"0",6,"c",4,"0",5,"c",131,"0",6,"c",8,"0",5,"c",5,"0",5,"c",130,"0",6,"c",9,"0",5,"c",5,"0",5,"c",130,"0",6,"c",9,"0",5,"c",5,"0",5,"c",129,"0",6,"c",10,"0",5,"c",5,"0",5,"c",129,"0",6,"c",11,"0",3,"c",5,"0",6,"c",129,"0",5,"c",20,"0",6,"c",129,"0",5,"c",19,"0",6,"c",130,"0",5,"c",19,"0",6,"c",129,"0",6,"c",18,"0",6,"c",130,"0",6,"c",18,"0",6,"c",130,"0",5,"c",18,"0",6,"c",131,"0",5,"c",18,"0",6,"c",131,"0",5,"c",17,"0",6,"c",132,"0",6,"c",16,"0",6,"c",132,"0",6,"c",14,"0",7,"c",134,"0",6,"c",11,"0",9,"c",134,"0",7,"c",8,"0",10,"c",136,"0",10,"c",2,"0",11,"c",137,"0",22,"c",139,"0",19,"c",142,"0",16,"c",146,"0",12,"c",152,"0",6,"c",625,"0",3,"c",156,"0",5,"c",155,"0",
@Sheepolution
Sheepolution / game.txt
Created December 15, 2023 10:06
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"],[16000,"0"]],"hyperlinks":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]}
@Sheepolution
Sheepolution / game.txt
Created December 15, 2023 15:17
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[2784,"0",2,"f",143,"0",3,"f",12,"0",2,"f",14,"0",1,"f",131,"0",6,"f",7,"0",2,"f",1,"0",8,"f",1,"0",3,"f",6,"0",6,"f",123,"0",1,"f",8,"0",1,"f",2,"0",11,"f",6,"0",2,"f",2,"0",1,"f",125,"0",1,"f",23,"0",3,"f",2,"0",1,"f",5,"0",2,"f",122,"0",1,"f",22,"0",5,"f",1,"0",1,"f",7,"0",1,"f",120,"0",4,"f",19,"0",2,"f",14,"0",1,"f",118,"0",2,"f",4,"0",3,"f",13,"0",3,"f",15,"0",1,"f",128,"0",2,"f",8,"0",3,"f",3,"0",3,"f",11,"0",1,"f",138,"0",1,"f",2,"0",4,"f",13,"0",1,"f",138,"0",4,"f",16,"0",1,"f",12,"0",4,"f",142,"0",1,"f",6,"0",7,"f",4,"0",2,"f",139,"0",1,"f",1,"0",6,"f",152,"0",2,"f",903,"0",8,"f",105,"0",8,"d",38,"0",10,"f",84,"0",9,"d",10,"0",11,"d",35,"0",12,"f",82,"0",11,"d",9,"0",12,"d",33,"0",13,"f",81,"0",12,"d",9,"0",12,"d",32,"0",14,"f",80,"0",13,"d",9,"0",13,"d",30,"0",22,"f",72,"0",13,"d",11,"0",12,"d",30,"0",26,"f",68,"0",9,"d",18,"0",9,"d",29,"0",29,"f",66,"0",7,"d",22,"0",7,"d",29,"0",30,"f",65,"0",7,"d",24,"0",5,"d",28,"0",21,"f",3,"0",8,"f",64,"0",6,"d",7,"
@Sheepolution
Sheepolution / main.lua
Last active December 19, 2025 05:14
Basic Luasteam P2P example
local server = true -- Change to false for the client
local connectionId
local pollGroup
Steam = require "luasteam"
Steam.init()
-- We call this to let Steam know that we want to use the networking sockets API.
-- Which probably won't do much in this example, but it can save you a delay.
@Sheepolution
Sheepolution / color.lua
Last active March 3, 2026 01:51
The color util in my engine code
--[[
Copyright 2026 Sheepolution
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: