1. week

Not Too Short Introduction to OOP

Get to know Object Oriented Programming by playing the Alien Breed game

Motivation

The goal of this lab is to successfully finish the prepared game AlienBreed and to get acquainted with some of the basic principles of object oriented programming along the way. Apart from learning something, you will also became familiar with the principles of the type of the game that will represent the subject of assignments in this course.

Objectives

  1. Set up the environment for working in the course.
  2. To master AlienBreed game rules.
  3. To understand objects and classes by playing the AlienBreed game.
  4. To get familiar with class diagram .
  5. TO get familiar with data encapsulation .

Instructions

Step 1: Ready, steady, go!

Task 1.1

Prepare your environment for project of this course by working out the 0. assignment The Environment.

Step 2: Let's rock!

Your task is to play and win the AlienBreed game. Playing time is set to 45 minutes. Do not forget the game is educational and there are other objectives than to shoot all the aliens as fast as possible. Good luck, player!

Task 2.1

Download the AlienBreed game from this link.

Task 2.2

Launch the game and proceed according to guides that will appear in the game.

If you are using Linux, double-clicking on the downloaded file will probably not be enough. To run the game, open terminal window in the directory where the .jar file with game is downloaded and run the following command:

java -jar alienbreed-intro.jar -l en

Warning

If you use OpenJDK from your OS's repositories and you get Inconsistency detected error when launching the game, download and setup one of AdoptOpenJDK builds (version 11+) instead. Page describing the installation describes how to install AdoptOpenJDK Java builds from repositories of Linux distributions supporting .deb and .rpm packages.

Additional links