My first c++ game  (attempt)