war ships game using c++