GithubHelp home page GithubHelp logo

jfoot.greeps's Introduction

G R E E P S I N V A S I O N

  • Purpose

    • To establish familiarity with conditional statements
  • Objective

    • Modify the Greep class to collect Tomato objects and return them to the Spaceship while avoiding Water and obstacles.
  • Description

    • Your task is to program the Greep to collect as many Tomato as possible.
    • You may ONLY CHANGE THE GREEP class.
    • You may not change any other class.
  • Getting oriented

    • Please view the javadocs for this project to get better acquainted with the object orientation
      • the Creature class is the abstract superclass of the Greep class.
      • the Greep is a concrete subclass of the Creature class.
      • the GreepSpit is a composite child of Greep. It is the permissible only communication mechanism by Greeps.
      • the TomatoPile is where Greep gather resources. A Greep cannot retrieve from a TomatoPile unless another Greep is there to load it onto the other Greep present at the same TomatoPile.
  • Development Constraints

    1. Only change the class Greep. No other classes may be modified or created.
    2. No additional fields. You cannot extend the Greep memory.
      • you are not allowed to add fields to the class (except final fields).
      • You can use the one byte memory that is provided.
    3. You cannot move more than once per act round.
    4. You cannot communicate directly with other Greep.
      • That is: no field accesses or method calls to other Greep objects are allowed.
      • Greep can communicate indirectly via the GreepSpit on the ground.
    5. No long vision.
      • You are allowed to look at the world only at the immediate location of the Greep.
      • Greep are almost blind, and cannot look any further.
    6. No instantiating Actor subclasses.
      • Actor subclasses, such as Greep or GreepSpit, cannot be instantiated. Greep have no magic powers - they cannot create things out of nothing.
    7. No teleporting.
      • Methods from Actor that cheat normal movement (such as setLocation) may not be used.

Background

  • This application is built using the Jfoot library.

jfoot.greeps's People

Contributors

git-leon 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.