An attempt to write simple 3D game