do this then work on porting intwars to c#