Giter Site home page Giter Site logo

starwarsroguegame's Introduction

FIT2099 Assignment

The objective of this assignment was to work in pairs and extend the existing software system abiding by the object-oriented design principles. We were required to collaborate using git and design well written visual forms, using standard UML diagrams.

Student details

Harsil Patel

David Bui

Gameplay

Entities

Blaster

A blaster is a weapon with hitpoints 100 and is represented by b.

Canteen

A canteen, denoted by c, can be used to contain water. It can be filled at a Reservoir, or any other Entity that has a Dip affordance.

Door

A door, represented by d, is an entity with Enter and Exit affordances so that the player (controlling Luke) can enter and exit other entities (Sandcrawler for example)

Grenade

A grenade, which is identified by g on the text based user interface, when thrown explodes violently, doing damage to both actors and other entities, in “rings” of differing severity. It causes damages as follows:

  • Entities in the location where the grenade is thrown lose 20 hitpoints.
  • Entities in locations that can be reached in one step from the location where the grenade is thrown lose 10 points.
  • Entities in locations that can be reached in one step from the location where the grenade is thrown lose 5 points.
  • The actor that throws the grenade is not affected.

Lightsaber

A lightsaber, marked by on the interface, can be picked up by any entity, but only those entities with a lot of Force ability can wield one and use it as a weapon.

Reservoir

Water reserviors are denoted by W and they can be dipped into to fill fillable entities (such as Canteens. They are assumed to have infinite capacity.

GIF 🎞


Credits

Assignment base by Dr. David Squire

Plagiarism Notice

The code in this repository is not endorsed by Monash University. Please note that copying the code for unit assessments without referencing will result in a breach in Academic Integrity Policy and that the author @harsilspatel will not be held responsible for these breaches. For more information please visit https://www.monash.edu/students/academic/policies/academic-integrity

starwarsroguegame's People

Contributors

harsilspatel avatar squizzgitmon avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.