Randomizer Project: Day 2

Introduction to Inheritance, Overriding, and Overloading


Videos

The Randomizer Project

This project will serve as a way to introduce students to the advanced Java concepts of Interfaces, Classes, Objects, Object Inheritance, Polymorphism, Extending Classes, and the use of Abstract Classes.

It will do this in the framework of creating a series of classes that can be used in any game context to introduce randomness into the game.

Therefore we will call all such classes Randomizers!

In day 2 of the series of video tutorials we will review the code from the first day, then be introduced to object inheritance and overriding. Next, students will create and work with first one and then a group of six-sided dice, learning about objects and arrays.

Then students will learn about overloading by creating the polyhedral die class.

The code is organized into several files, but all the code is found in this PDF IconPDF.

You may download the completed code from day 1 as an Eclipse Project: .zip IconRandomizerProject_Day1_End.zip.

You may download the completed code from day 2 an Eclipse Project: .zip IconRandomizerProject_Day2_End.zip.