zsmb's prog site

Recursive Colouring Game

  2015.01.26.

Introduction

This game is basically just a copy of the colouring game that can be found  here. The image of Stewie and the colours used in that image are all taken from that website. I made one more image that can be used with the program (it's Christmas-themed), which you can find in the download section.

Description

This project is nothing crazy, it's just a simple boundary fill algorithm visualized and a toolbar to choose your colours from. You can make your own images to use with this program, for which a blank template is included below.

Development

The program has one of the weirdest design choices for choosing which file to open (for which I'm really sorry for), and instead of taking a command line parameter or something reasonable like that, it opens the text file that has the same name as the executable. For example, renaming the executable to stewie.exe will open the stewie.txt file in the same folder for colouring.

The text files used in the program contain the drawing outlines, as well as the list of colours you want included in the toolbar on top.

Downloads

Both the executable game with example data files and the source codes are available here. The code isn't my best, but you can have a go at figuring it out if you want to.

Downloading the zip file that contains the executable results in a warning (at least in Chrome), but I promise that it's only the compiled source code that you can also download here.

Name Description Size Date
colouring.zip Contains everything you need to play the game 893 KB 2015.01.26.
colouring.c The single source file for the project 7.86 KB 2015.01.26.
stewie.txt The original Stewie drawing 1.68 KB 2015.01.26.
christmas.txt My Christmas drawing 1.68 KB 2015.01.26.
blank.txt The drawing template 1.65 KB 2015.01.26.