Inspiration

I've wanted to bring some old school fun back, and I remembered the game I first played when I came to America as a little kid. Being a shy kid, I'd stick to board games more than basketball. Battleship was one of my favorite game to play, but it requires another player. Often times it resulted in me holding the board alone. So for this project, I've decided to make an interactive Battleship program so I can play by myself!

What it does

It operates like a normal Battleship game.

How I built it

I built it by myself, using C++.

Challenges I ran into

Definitely a lot of seg faults, but the randomization process of the AI was the biggest problem.

Accomplishments that I'm proud of

I wrote something that is functional with C++.

What I learned

Algorithms can't be learned within 2 hours, but they are extremely cool. I want to learn about them more.

What's next for Battleship

I want to implement a cool algorithm so it can beat any human player!

Built With

Share this project:

Updates