In this practical videos, we are covering how to implement a pirate game while covering some concepts in Object Oriented Programming. The pirate game will have a simple map (as a two-dimensional array) and then some objects will be added to the map. Pirates will move around the map.
The main focus was to create an Application Programming Interface (API) for the pirate game while testing them through console. Then implementing them into a basic graphical user interface application to interact that make use of API.
Practical Video 01 - Scenario explanation
Practical Video 02 - State of objects and initialising objects (Pirate)
Practical Video 03 - Array object in an object class (Map)
Practical Video 04 - Methods in object oriented programming (Add Pirate to Map)
Practical Video 05 - Selecting and Moving Pirates in a Map
Practical Video 06 - Hiding Data Fields in Pirate Class (Encapsulation)
Practical Video 07 - Hiding Data Fields in Map Class (Encapsulation)
Practical Video 08 - Adding Weapons (Inheritance)
Practical Video 09 - Further Understanding Inheritance
Practical Video 10 - Understanding Polymorphism
Practical Video 11 - Pirate equipping Weapon (Polymorphism)
Practical Video 13 - Create console application for the Pirate Game API
Practical Video 14 - Setting up JavaFX application (for the Pirate Game API)
Practical Video 15 - Represent Map in JavaFX (for the Pirate Game API)
Practical Video 16 - Move Pirate JavaFX Buttons (for the Pirate Game API)
Practical Video 17 - Add Pirate, Weapon and Potion JavaFX Buttons (for the Pirate Game API)
Practical Video 18 - Learning Regular Expressions)
Practical Video 19 - Learning Java IO with Regular Expressions