jchang12345 / BattleShip

UCLA CS32 Project3 BattleShip

Home Page:http://termular.me/C++.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BattleShip

UCLA CS32 Project3 BattleShip

Main Concepts: Data structures, Inheritance, Polymorphism, Recursion, and OOP

General: This project focused on developing from skeleton code, a working battleship game. Writing helper functions, deciding what kind of design or approach for the program, and choosing the right data structures can help save time and improve the flow of the program. After developing the setup so that a game can be created between two players, AI (Artifical Intelligence) had to be written (a bad, mediocre, and good player), with varying ranges of playstyle and level of decision making. This also relied on working knowledge of inheritance, polymorphism, recursion, and data structures in the full implementation.
demo player vs mediocre bot: https://youtu.be/8JJvTxUFnh8