Quote (Muted @ Oct 17 2018 06:39am)
Post :blush: what you have so far.
I'm interested in seeing how you implemented this Battleship game so far.
Console/Terminal or talking to the graphics driver makes no difference. DirectX/OpenGL/SDL/SFML/<insert here> does not magically do anything for you.
The A.I. shouldn't be too hard to implement. The more problematic issue is: How smart and fast do you want the opponent to learn?
I plan to start the project this weekend. If I make enough progress on the AI, I will post it. I only said it sounds more difficult, but I will find out when I get there.
The only other programming experience I have is self-taught C#. I only assumed it is easier to program when it is not console due to how easy I found programming in C# via creating objects.
Not sure if it would be a similar experience in C++.
The reason I imagine it being more difficult is because I'm not dealing with an object, but what will probably be coordinates. Usually I can just assign the priority to the object, but in the console there is nothing to assign it to. Maybe it's own array?
The calculation as I imagine it for the probability of each cell/coordinate is more difficult as well. As objects are naturally easier to work with for me.
The A.I. as a whole I don't see being too difficult for the Random, Parity, and the Hunt modes. Just will take more thought on my part for implementing the priority of each coordinate and then have the AI choose random from all the higher priority spots.
This post was edited by kasey21 on Oct 16 2018 11:53pm