not working game in c#