Category Archives: Code

I’ll Just Leave This Here

Full rundown, including code, to come sometime in the future. (Probably.)

Posted in Code | Tagged , , , , , | Leave a comment

First Flash Project

Once upon a time Adobe Flash was locked down. To make anything in flash you had to either buy or steal Adobe’s software to do anything with it. Nowadays though it seems that has changed. Using nothing but free software from FlashDevelop and GreenSock. I was able to build this chess software in about eight [...]

Posted in Code | Tagged , , , , | 3 Comments

K-Means Clustering in J

Perception is essentially the problem of extracting high-level patterns from large amounts of raw-data (from sensors). Correctly recognizing the pattern/shape “dog” in a bitmap is one example of a tricky perceptual task. Note that the symbol “dog/not dog” is much less information than the raw image data. This compression is vital for being able to [...]

Posted in Code | Tagged , , , | 1 Comment

Nyx

I don’t usually post projects that are only mostly done, but I wanted to get this off my plate. It’s a simple cardgame built entirely in javascript called Nyx (after the Greek goddess). Each turn consists of both players secretly choosing an action. Actions consist of either drawing two cards, or playing a card. There [...]

Posted in Code | Tagged , , , | Leave a comment

Welcome to the Prisidium

Looks like you can’t see the iframe content. Perhaps you’re not on the blog? P.S. This post is so tall because the code is in an iframe. The code could easily integrate as a library, and I could then make this a normal post, but I want it to be encapsulated for now.

Posted in Code | Tagged , , , | 3 Comments