Skip to content

realjck/zoop-programming-theory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZOOP, a programming theory farm

submission 2 for Junior Programmer pathway learn.unity.com

Written in C#

App hosted on Github Pages in this repository (WebGL)

You can launch the app from here: ./webgl/index.html

This project shows the four pillars of object-oriented programming:

  • Abstraction: Animals can change direction ('AssignRandomDirection()') and do their action ('DoAction()')
  • Encapsulation: Speed of animals encapsulates a method to avoid negative speeds
  • Inheritance: Chicken, Lion and Penguin inherit their wandering behaviour from the parent class 'Animal.cs'
  • Polymorphism: Each type of animal has its own overriden method 'DoAction()' that it plays randomly

Snapshot

About

🐵 submission #2 for junior programmer Unity3D pathway

Resources

Stars

Watchers

Forks

Releases

No releases published