当前位置:天才代写 > JAVA代写,java代考-JAVA作业代写免费Moss检测 > CS代写之JAVA Scavenger Hunt Goal

CS代写之JAVA Scavenger Hunt Goal

2018-07-18 08:00 星期三 所属: JAVA代写,java代考-JAVA作业代写免费Moss检测 浏览:1372

Program 1


Due   Monday by 8am Points  100 Available Jul 6 at 8pm ­ Jul 19 at 8am 13 days

Program 1: Scavenger Hunt Goal

In your first program assignment, your task is to navigate a jeroo located on "Long Island":

image.png

Your jeroo should start at location (2, 2), facing east, with no flowers

 

Write a program that creates your jeroo in the correct starting position, and then has the jeroo hop and pick all seven flowers, ending up at the location of the flower in the center of the island.

Structuring Your Solufion

 

Download the scenario for this assignment, which contains the class: program1.zip.

 

In the program1 scenario, create your own subclass of

called

. Place your solution in


the  myProgram() method of the class.

 

In writing your solution, if the only method you write is , your code will likely be long and bulky.

Instead, think of how you can create your own methods to represent recurring, identifiable tasks. You are free

to write your own methods (in addition to ) in your island subclass. You are also free to create your own

subclass of (with a name of your choice), and add your own methods to it. Remember these guidelines:

 

Break your problem into smaller, more manageable pieces.

 

Use new methods to represent meaningful pieces of your solution.


Give methods meaningful names that reflect what they do.

 

Place new methods in the class that is responsible for carrying out the corresponding action.

 

You will be graded in part on the design and readability of your solution, so consider these factors when devising and naming your methods.

Tip: If it appears that the method of the ScavengerHunt class does not execute: Right­click on

your class and create a new ScavengerHunt object before pressing the Run button.

 

Grading Criteria

Please read the Program Grading Rubric to learn how TAs will grade your programming assignment submissions. Note that for this first program assignment only, you are not expected to write your own software tests, so the "Test Case Design" portion of the grading rubric will not be applied on Program 1.

For Reference

Basic jeroo methods are covered in Chapter 3 of the course e­booklet. Information about breaking tasks down into pieces, together with examples, appear in Chapter 4 and Chapter 5.

A complete list of all the methods supported by the class is available in the on­line documentation for

(http://sofia.cs.vt.edu/api/reference/sofia/micro/jeroo/Jeroo.html) (all of the library classes we use have this documentation­­use the "Help­>Greenfoot4Sofia class documentation" link in Greenfoot4Sofia to access them all).

If you have programmed before: Although it is not necessary for this assignment, if you have programmed before and wish to use loops or if statements in your solution, feel free to do so. The full list of methods supported by

the class (http://sofia.cs.vt.edu/api/reference/sofia/micro/jeroo/Jeroo.html) includes a number of "sensor"­style

methods so that jeroos can react to their environment, and you may find these useful in constructing a more advanced solution if you wish (this is not required).

Submifing Your Solufion

All program assignments are submitted to Web­CAT. Use the Controls­>Submit… menu command in Greenfoot4Sofia to submit your work, just as you would for a lab assignment.

代写CS&Finance|建模|代码|系统|报告|考试

编程类:C++,JAVA ,数据库,WEB,Linux,Nodejs,JSP,Html,Prolog,Python,Haskell,hadoop算法,系统 机器学习

金融类统计,计量,风险投资,金融工程,R语言,Python语言,Matlab,建立模型,数据分析,数据处理

服务类:Lab/Assignment/Project/Course/Qzui/Midterm/Final/Exam/Test帮助代写代考辅导

天才写手,代写CS,代写finance,代写statistics,考试助攻

E-mail:850190831@qq.com   微信:BadGeniuscs  工作时间:无休息工作日-早上8点到凌晨3点


如果您用的手机请先保存二维码到手机里面,识别图中二维码。如果用电脑,直接掏出手机果断扫描。

1513067809116994.png

 

    关键字:

天才代写-代写联系方式