Giter VIP home page Giter VIP logo

oop-lab-2's Introduction

OOP-Lab-2

Earth Simulation Game

For this simulation I defined the following entities:

  • World - choose the size of the world by introducing the number of vertical/horizontal blocks.
  • Block - choose what type of blocks the ground will be (dirt, rock, water, etc).
  • Hill - create hills and mountains by specifying the width/height, as well as the hill type.
  • Person - create people with points in 3 attributes: strength, intelligence, speed, and with the ability for them to gain/lose points in those attributes. More strength = better fighters, more intelligence = higher probability to use their surroundings intelligently and produce medicine, create shelters, etc, more speed = create things faster, run away from potential calamities/predators faster.
  • Plant - create plants by specifying the plant type and it's lifespan. Can be used by people/animals.
  • Animal - add animals by specifying the animal type, as well as giving them points in 3 attributes: strength, intelligence, speed, and with the ability for them to gain/lose points in those attributes. Usually more strength, less intelligence = more aggresive animals.
  • Weather - set a specific type of weather (sunny, rainy, snowy, etc). Can have a big impact on plants and the environment.
  • Calamity - add calamities by defining how dangerous they are, how long they last and what type they are. Have the potential to destroy pretty much everything.
  • Weapon - create weapons with their own type, usage speed, damage output and durability which can be wielded by people (and/or animals if they're intelligent enough).
  • Building - create buildings with a specific type, number of rooms and size in width/length.

oop-lab-2's People

Contributors

mariusbotezatuu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.