Skip to content

jchang12345/BattleShip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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