3 ms·
nice, as a web developer i wanted to try my hands on making a game. which turned out to be much harder than i thought, and also see if i could do any thing with
by jibreel 10y ago
nice, as a web developer i wanted to try my hands on making a game. which turned out to be much harder than i thought, and also see if i could do any thing with c lang, never wrote a program more than ~15 lines of code in c, so i build a tetris game, using SDL lib.
funny thing is i also represented shapes like you did as 0 or 1 on plane, but then changed to x,y list of blocks.
here it is.
https://gist.github.com/spaceexperiment/4d6b116ef577a29712593c41747bd092 https://gist.github.com/spaceexperiment/4d6b116ef577a2971259...