Game in OpenGL using C when two ships fight using left and cannons