Skip to content

Instantly share code, notes, and snippets.

View Capital-EX's full-sized avatar
🦖
Too busy stack shuffling

Capital-EX

🦖
Too busy stack shuffling
View GitHub Profile
@Capital-EX
Capital-EX / game.txt
Created November 2, 2024 05:31
flickgame
{"gameLink":"Pumpkin Humpin","canvasses":[[56,"0",16,"f",3,"a",11,"f",2,"0",1,"f",122,"0",1,"f",2,"0",1,"f",1,"0",3,"f",3,"a",11,"f",1,"a",1,"f",1,"a",8,"f",1,"0",1,"f",2,"0",1,"f",125,"0",1,"f",1,"0",2,"f",3,"a",13,"f",1,"a",2,"f",1,"a",6,"f",1,"0",1,"f",2,"0",1,"f",125,"0",1,"f",1,"0",2,"f",2,"a",15,"f",1,"a",1,"f",1,"a",6,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",2,"0",1,"f",1,"0",4,"f",1,"a",3,"f",1,"a",8,"f",2,"a",9,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",3,"0",4,"f",1,"a",3,"f",1,"a",8,"f",2,"a",10,"f",1,"0",1,"f",1,"0",1,"f",123,"0",1,"f",1,"0",1,"f",1,"0",1,"f",1,"0",15,"f",1,"a",2,"f",1,"a",8,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",1,"0",1,"f",2,"0",28,"f",1,"0",1,"f",1,"0",2,"f",128,"0",17,"f",1,"a",9,"f",3,"0",2,"f",123,"0",1,"f",1,"0",1,"f",2,"0",26,"f",2,"0",1,"f",126,"0",1,"f",5,"0",21,"f",2,"a",3,"f",4,"0",1,"f",124,"0",1,"f",1,"0",1,"f",3,"0",19,"f",3,"a",1,"f",6,"0",1,"f",124,"0",2,"f",1,"0",1,"f",4,"0",13,"f",1,"a",1,"f",4,"a",1,"f",3,"0",2,"f",1,"0",1,"f",126,"0",1,"f",2,"0",1,"f",4,"0"
@Capital-EX
Capital-EX / game.txt
Created November 2, 2024 05:31
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[56,"0",16,"f",3,"a",11,"f",2,"0",1,"f",122,"0",1,"f",2,"0",1,"f",1,"0",3,"f",3,"a",11,"f",1,"a",1,"f",1,"a",8,"f",1,"0",1,"f",2,"0",1,"f",125,"0",1,"f",1,"0",2,"f",3,"a",13,"f",1,"a",2,"f",1,"a",6,"f",1,"0",1,"f",2,"0",1,"f",125,"0",1,"f",1,"0",2,"f",2,"a",15,"f",1,"a",1,"f",1,"a",6,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",2,"0",1,"f",1,"0",4,"f",1,"a",3,"f",1,"a",8,"f",2,"a",9,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",3,"0",4,"f",1,"a",3,"f",1,"a",8,"f",2,"a",10,"f",1,"0",1,"f",1,"0",1,"f",123,"0",1,"f",1,"0",1,"f",1,"0",1,"f",1,"0",15,"f",1,"a",2,"f",1,"a",8,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",1,"0",1,"f",2,"0",28,"f",1,"0",1,"f",1,"0",2,"f",128,"0",17,"f",1,"a",9,"f",3,"0",2,"f",123,"0",1,"f",1,"0",1,"f",2,"0",26,"f",2,"0",1,"f",126,"0",1,"f",5,"0",21,"f",2,"a",3,"f",4,"0",1,"f",124,"0",1,"f",1,"0",1,"f",3,"0",19,"f",3,"a",1,"f",6,"0",1,"f",124,"0",2,"f",1,"0",1,"f",4,"0",13,"f",1,"a",1,"f",4,"a",1,"f",3,"0",2,"f",1,"0",1,"f",126,"0",1,"f",2,"0",1,"f",4,
@Capital-EX
Capital-EX / game.txt
Created November 2, 2024 05:31
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[56,"0",16,"f",3,"a",11,"f",2,"0",1,"f",122,"0",1,"f",2,"0",1,"f",1,"0",3,"f",3,"a",11,"f",1,"a",1,"f",1,"a",8,"f",1,"0",1,"f",2,"0",1,"f",125,"0",1,"f",1,"0",2,"f",3,"a",13,"f",1,"a",2,"f",1,"a",6,"f",1,"0",1,"f",2,"0",1,"f",125,"0",1,"f",1,"0",2,"f",2,"a",15,"f",1,"a",1,"f",1,"a",6,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",2,"0",1,"f",1,"0",4,"f",1,"a",3,"f",1,"a",8,"f",2,"a",9,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",3,"0",4,"f",1,"a",3,"f",1,"a",8,"f",2,"a",10,"f",1,"0",1,"f",1,"0",1,"f",123,"0",1,"f",1,"0",1,"f",1,"0",1,"f",1,"0",15,"f",1,"a",2,"f",1,"a",8,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",1,"0",1,"f",2,"0",28,"f",1,"0",1,"f",1,"0",2,"f",128,"0",17,"f",1,"a",9,"f",3,"0",2,"f",123,"0",1,"f",1,"0",1,"f",2,"0",26,"f",2,"0",1,"f",126,"0",1,"f",5,"0",21,"f",2,"a",3,"f",4,"0",1,"f",124,"0",1,"f",1,"0",1,"f",3,"0",19,"f",3,"a",1,"f",6,"0",1,"f",124,"0",2,"f",1,"0",1,"f",4,"0",13,"f",1,"a",1,"f",4,"a",1,"f",3,"0",2,"f",1,"0",1,"f",126,"0",1,"f",2,"0",1,"f",4,
@Capital-EX
Capital-EX / game.txt
Created November 2, 2024 05:31
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]]}
@Capital-EX
Capital-EX / game.txt
Created November 2, 2024 05:31
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]]}
@Capital-EX
Capital-EX / game.txt
Created November 2, 2024 05:31
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[56,"0",16,"f",3,"a",11,"f",2,"0",1,"f",122,"0",1,"f",2,"0",1,"f",1,"0",3,"f",3,"a",11,"f",1,"a",1,"f",1,"a",8,"f",1,"0",1,"f",2,"0",1,"f",125,"0",1,"f",1,"0",2,"f",3,"a",13,"f",1,"a",2,"f",1,"a",6,"f",1,"0",1,"f",2,"0",1,"f",125,"0",1,"f",1,"0",2,"f",2,"a",15,"f",1,"a",1,"f",1,"a",6,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",2,"0",1,"f",1,"0",4,"f",1,"a",3,"f",1,"a",8,"f",2,"a",9,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",3,"0",4,"f",1,"a",3,"f",1,"a",8,"f",2,"a",10,"f",1,"0",1,"f",1,"0",1,"f",123,"0",1,"f",1,"0",1,"f",1,"0",1,"f",1,"0",15,"f",1,"a",2,"f",1,"a",8,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",1,"0",1,"f",2,"0",28,"f",1,"0",1,"f",1,"0",2,"f",128,"0",17,"f",1,"a",9,"f",3,"0",2,"f",123,"0",1,"f",1,"0",1,"f",2,"0",26,"f",2,"0",1,"f",126,"0",1,"f",5,"0",21,"f",2,"a",3,"f",4,"0",1,"f",124,"0",1,"f",1,"0",1,"f",3,"0",19,"f",3,"a",1,"f",6,"0",1,"f",124,"0",2,"f",1,"0",1,"f",4,"0",13,"f",1,"a",1,"f",4,"a",1,"f",3,"0",2,"f",1,"0",1,"f",126,"0",1,"f",2,"0",1,"f",4,
@Capital-EX
Capital-EX / game.txt
Created November 2, 2024 05:31
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[56,"0",16,"f",3,"a",11,"f",2,"0",1,"f",122,"0",1,"f",2,"0",1,"f",1,"0",3,"f",3,"a",11,"f",1,"a",1,"f",1,"a",8,"f",1,"0",1,"f",2,"0",1,"f",125,"0",1,"f",1,"0",2,"f",3,"a",13,"f",1,"a",2,"f",1,"a",6,"f",1,"0",1,"f",2,"0",1,"f",125,"0",1,"f",1,"0",2,"f",2,"a",15,"f",1,"a",1,"f",1,"a",6,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",2,"0",1,"f",1,"0",4,"f",1,"a",3,"f",1,"a",8,"f",2,"a",9,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",3,"0",4,"f",1,"a",3,"f",1,"a",8,"f",2,"a",10,"f",1,"0",1,"f",1,"0",1,"f",123,"0",1,"f",1,"0",1,"f",1,"0",1,"f",1,"0",15,"f",1,"a",2,"f",1,"a",8,"f",1,"0",1,"f",2,"0",1,"f",122,"0",1,"f",1,"0",1,"f",2,"0",28,"f",1,"0",1,"f",1,"0",2,"f",128,"0",17,"f",1,"a",9,"f",3,"0",2,"f",123,"0",1,"f",1,"0",1,"f",2,"0",26,"f",2,"0",1,"f",126,"0",1,"f",5,"0",21,"f",2,"a",3,"f",4,"0",1,"f",124,"0",1,"f",1,"0",1,"f",3,"0",19,"f",3,"a",1,"f",6,"0",1,"f",124,"0",2,"f",1,"0",1,"f",4,"0",13,"f",1,"a",1,"f",4,"a",1,"f",3,"0",2,"f",1,"0",1,"f",126,"0",1,"f",2,"0",1,"f",4,
// Prim’s MST algorithm: priority queue version
void Prim(Graph* G, int* D, int s) {
int i, v, w; // "v" is current vertex
int V[G->n()]; // V[I] stores I’s closest neighbor
DijkElem temp;
DijkElem E[G->e()]; // Heap array with lots of space
temp.distance = 0; temp.vertex = s;
E[0] = temp; // Initialize heap array
heap<DijkElem, DDComp> H(E, 1, G->e()); // Create heap
for (int i=0; i<G->n(); i++) // Initialize
# warning-ignore-all:void_assignment
# warning-ignore-all:return_value_discarded
extends Control
class_name Sequence
# todo - impelement prize screen
signal dialogue_shown()
signal option_pressed(id)
enum Commands {
/*
__ __ _ _
| \/ | (_) (_)
| \ / | _ _ __ _ _ __ ___ __ _
| |\/| | | | | '_ \ | | | '_ ` _ \ / _` |
| | | | | | | | | | | | | | | | | | | (_| |
|_| |_| |_| |_| |_| |_| |_| |_| |_| \__,_|
*/