Dan Ruscoe's Personal Site

Open Source Code

Some code I've written and made available as open source on GitHub.

Android

Android Tile-Based Game

An example of a tile-based, 2D game using Android's Canvas.

PHP

PointMap

PointMap is a PHP class that uses the PHP GD library to map relative points on an image.

Roulette in PHP

A game of roulette written in PHP. The script accepts single or multiple bets per spin of the wheel and displays the winnings and losses.

PHP Interface for the Nabaztag API

A PHP class to control the essential functions of a Nabaztag wireless rabbit.

PHP Tail Command Emulator

A script to return the last given number of lines in a file, similar to the tail command in Unix. Useful for parsing large log files with PHP.