a simple game , port of a java project of a friend