Rewrite of an old proprietary Flash game of mine.