Programming Theory Test Project - Animal Race
This is a programming theory project, which consists of a game about animal race, where the main goal is to reach the finish at the fastest time possible. In this game, the player controls an animal, either a fox or a deer. Both animals have diferent speeds and jump heights. The player can also make the animal jump over obstacles (J key) or go faster by pressing the "Speed Up button" (S key). The fox animal can also roar while running by pressing the "Roar" (R key) button. In this project, all of the four pilars of the OOP where implemented, in order to showcase the abstraction (Diferent functions in update), polymorphism (Animal speeds and jump heights), inheritance (Animals) and encapsulation (Player name restrictions) and.