C# port of Rapscallion