PC Games

Lasagne Monsters
Three Guys Apocalypse
Water Closet
Blob Wars : Attrition
The Legend of Edgar
TBFTSS: The Pandoran War
Three Guys
Blob Wars : Blob and Conquer
Blob Wars : Metal Blob Solid
Project: Starfighter
TANX Squadron

Android Games

Number Blocks
Match 3 Warriors


2D shoot 'em up
2D top-down shooter
2D platform game
Sprite atlas tutorial
Working with TTF fonts
2D adventure game
Widget tutorial
2D shoot 'em up sequel
2D run and gun
Medals (Achievements)
2D turn-based strategy game
SDL 1 tutorials (outdated)

Latest Updates

SDL2 turn-based strategy tutorial
Thu, 14th April 2022

Water Closet ported to PlayStation Vita
Tue, 4th January 2022

The Legend of Edgar 1.35
Sat, 1st January 2022

Achievements tutorial
Thu, 2nd December 2021

SDL2 Rogue tutorial
Thu, 30th September 2021

All Updates »


android (3)
battle-for-the-solar-system (9)
blob-wars (9)
brexit (1)
code (6)
edgar (7)
games (39)
lasagne-monsters (1)
making-of (5)
match3 (1)
numberblocksonline (1)
orb (2)
site (1)
tanx (4)
three-guys (3)
three-guys-apocalypse (3)
tutorials (10)
water-closet (4)



When her village is attacked and her friends and family are taken away to be sold as slaves, Alysha Tanner sets out on a quest across the world to track them down and return them home. Along the way, she is aided by the most unlikely of allies - the world's last remaining dragon.

Click here to learn more and read an extract!

A Reddit Wallpaper download script

Fri, 27th May 2016

I like having new wallpapers, daily. As I most often got them from /r/wallpapers, I decided to write a small script to download them to use on my desktop. The script is rather straight forward. It will download the RSS feed from /r/wallpapers and extract the URLs of the first two jpgs that are listed within, which are then downloaded using wget. It will then resize them to better fit the desktop (some wallpapers are 4K, so I just resize them to my native resolution), and that's that.

Okay, there are a few extras: it will first check to see if we're online (by pinging Google), it will then only download new wallpapers if it's been at least 6 hours since the last check. Wallpapers older than two days old will be deleted before the new ones are fetched. Additionally, the user agent is set to be the latest version of Chrome, as Reddit has checks against rogue bots (note: if you run this script too often, your ip address could be banned - best to only run it once every few hours).

You can view the code below. Either copy and paste that into a file, or download the wallpaper.sh file at the bottom of this page. Remember to tweak it to suit your own needs (as a minimum, update the paths), and then chmod +x it before running.

#!/bin/bash -e

UA=`/opt/google/chrome/chrome -version`

if ping -q -c 1 www.google.com


if [ ! -f $LASTDL ] || [ `find "$LASTDL" -mmin +360` ]


find "$DIR" -name '*.jpg' -mtime +2 -exec rm {} \;

mkdir -p $TMP

FILES=$(curl -A "$UA" https://www.reddit.com/r/wallpapers.rss | xmllint --format - | grep -Eo 'http[s]?:[^"]*jpg' | grep -v thumbs | head -2)

for FILE in $FILES
wget -c $FILE -P $TMP

touch $LASTDL

mogrify -resize 1920x "$TMP/*.jpg"

mv $TMP/*.jpg $DIR


Downloads: wallpaper.sh (0Kb)

Related News

Orb source code
Mon, 26th April 2021

Lasagne Monsters source code
Tue, 20th April 2021

3 Guys Apocalypse source code
Sun, 11th April 2021

Scraping Amazon's Wishlist
Sat, 21st May 2016

Resizing an array in C
Thu, 19th May 2016

Mobile site