Skip to content

Instantly share code, notes, and snippets.

View Zaydiscool777's full-sized avatar
😶‍🌫️
Waiting for something to do

zaydm Zaydiscool777

😶‍🌫️
Waiting for something to do
View GitHub Profile
#include <ncurses.h> // gcc: -lncurses -ltinfo
#include <stdlib.h> // rand()
#include <unistd.h> // sleep()
// tcc -lncurses -ltinfo -run rain.c
// this program uses a queue!
// keep track of raindrops
struct point {
int x;
int y;
@Zaydiscool777
Zaydiscool777 / aclock.c
Created July 13, 2025 01:41
Analog clock! Not many of its kind.
#include <time.h>
#include <math.h> // gcc: -lm
#include <ncurses.h> // gcc: -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -lncurses -ltinfo
#include <stdlib.h>
// tcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -lncurses -ltinfo -lm -run aclock.c
int size; float fonth = 1.0; // change to 1.5 if you want
time_t rawtime; struct tm* now;
@Zaydiscool777
Zaydiscool777 / key
Last active June 6, 2025 19:12
public gpg key (Is it GPG or PGP?)
-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEaEMPnBYJKwYBBAHaRw8BAQdARTvF3rDjTkxVq+BXusNVw1Hz8wNmQUnvjpxd
1OOfre60HlpheWQgPHpheWRpc2Nvb2w3NzdAZ21haWwuY29tPoiZBBMWCgBBFiEE
ZXYXzKFifN2h28Xas8ERz+/2k/0FAmhDD5wCGwMFCQWjmoAFCwkIBwICIgIGFQoJ
CAsCBBYCAwECHgcCF4AACgkQs8ERz+/2k/1FqAEAnBAuumdwgValxX6FA0KSdVNR
x6mWF0oLaC+1r2Qxw8EA/AyWdebxfdFPxRmuRclxscjE9HDw5JG7ZS0eHzDsMTkH
uDgEaEMPnBIKKwYBBAGXVQEFAQEHQBUI8Vpn3HelbOBF0EsqLftmYdz2SWzzeyMo
XzdaKo5KAwEIB4h+BBgWCgAmFiEEZXYXzKFifN2h28Xas8ERz+/2k/0FAmhDD5wC
GwwFCQWjmoAACgkQs8ERz+/2k/0LOwEAgMnZSJ5d+1DiqJL7jdWlt7Yy+aVkHITC
@Zaydiscool777
Zaydiscool777 / readme.txt
Created May 30, 2025 22:30
Reverse Block Pushing Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Zaydiscool777
Zaydiscool777 / readme.txt
Created February 9, 2025 18:44
Simple Block Pushing Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Zaydiscool777
Zaydiscool777 / readme.txt
Created February 9, 2025 18:21
Simple Block Pushing Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Zaydiscool777
Zaydiscool777 / readme.txt
Last active February 7, 2025 23:39
[Chess Battle Advanced] (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Zaydiscool777
Zaydiscool777 / readme.txt
Created January 11, 2024 02:08
Another Simple Block Pushing Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Zaydiscool777
Zaydiscool777 / game.txt
Created January 7, 2024 01:38
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[2755,"0",3,"6",156,"0",5,"6",155,"0",5,"6",155,"0",5,"6",155,"0",5,"6",155,"0",5,"6",155,"0",5,"6",87,"0",7,"8",61,"0",5,"6",85,"0",11,"8",59,"0",5,"6",83,"0",14,"8",58,"0",5,"6",27,"0",21,"b",34,"0",17,"8",56,"0",5,"6",26,"0",23,"b",32,"0",19,"8",55,"0",5,"6",25,"0",24,"b",32,"0",8,"8",3,"0",8,"8",55,"0",5,"6",24,"0",25,"b",31,"0",7,"8",7,"0",6,"8",55,"0",5,"6",24,"0",26,"b",30,"0",6,"8",9,"0",5,"8",55,"0",5,"6",23,"0",6,"b",15,"0",6,"b",30,"0",5,"8",10,"0",6,"8",54,"0",5,"6",22,"0",7,"b",16,"0",5,"b",30,"0",5,"8",10,"0",6,"8",54,"0",5,"6",22,"0",6,"b",16,"0",6,"b",30,"0",5,"8",11,"0",5,"8",54,"0",5,"6",22,"0",5,"b",17,"0",6,"b",31,"0",3,"8",12,"0",5,"8",54,"0",5,"6",23,"0",3,"b",18,"0",5,"b",47,"0",5,"8",54,"0",5,"6",43,"0",6,"b",47,"0",5,"8",54,"0",5,"6",43,"0",6,"b",47,"0",5,"8",54,"0",5,"6",42,"0",6,"b",47,"0",6,"8",54,"0",5,"6",42,"0",6,"b",35,"0",5,"8",6,"0",7,"8",54,"0",5,"6",42,"0",5,"b",35,"0",18,"8",55,"0",5,"6",41,"0",6,"b",35,"0",17,"8",56,"0",5,"6",4