KAKURO PUZZLE HELPER

screenshot

This is a little program that calculates all the possible sums of a number based on the rules of Kakuro. The sums can only contain the numbers 1 through 9 cannot have any duplicates. For instance, the only acceptable two number combintion for 17 is [8, 9]. The program works by recursively looping through all the possible combinations and rejecting the unacceptable ones.

CELLULAR AUTOMATA

screenshot

A simple cellular automata done for an art school assignment. The "Parity" ruleset is used because it produces pretty pictures easily. Basically the rule is that if a cell has an odd number af living cells in its neighbourhood (the cells to the top, bottom, left, right of it and the cell itself) then it will be born or survive. If it has an even number then it dies. The board wraps around at the edges.

SUDOKU

screenshot

This is an almost completed Sudoku game. It uses the choco library to define the constraints. The constraints are that each row, column and 3 by 3 grid can't contain duplicate numbers. It does not check to see if the numbers are between 1 and 9 because the player cannot input any other numbers, but that could have been another constraint. The board is created by filling one 3 by 3 grid with random numbers and then using choco to fill in the rest based on the constraints.

SVG TO FLASH

Various classes that attempt to convert SVG files to Flash. It uses the JSwiff library which appears to be gone now. There is also the JavaSWF library which is still available. If you came here looking to convert swf to SVG the best way is probably Flash Exploit.