Randomizer Project: Day 1

Introduction to Interfaces, Classes, and Objects


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, and Extending Objects.

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 this first series of video tutorials we will create a Java interface for our randomizers which we will then use with our first class, a coin randomizer!

This series of lessons will conclude with a short class that instantiates a coin, flips it repeatedly, counting how many times we see heads.

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

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