文件名称:homework2
- 所属分类:
- JSP源码/Java
- 资源属性:
- [MacOS] [Java] [源码]
- 上传时间:
- 2015-03-14
- 文件大小:
- 4kb
- 下载次数:
- 1次
- 提 供 者:
- Lann*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
In this assignment you will get practice working with Java arrays, and more practice implementing your own classes. Like you did in assignment 1 and lab 4, you will be implementing a class whose specification we have given you, in this case a class called SolitaireBoard, to represent the board configuration for a specific type of solitaire game described further below. You will also be using tools to help develop correct code, such as assert statements along with code to verify that your class is consistent.
Note: this program is due after your midterm exam, but it s a fair amount bigger than the first assignment. We recommend getting started on it before the midterm. It only uses topics before the midterm, so working on it now will also help you prepare for the exam (there will be paper and pencil array programming problems as part of the exam).-SolitaireBoard.java The interface for the SolitaireBoard class it contains stub versions of the functions so it will compile. It also contains some named constants. You will be completing the implementation of this class. You may not change the interface for this class, but you may add private instance variables and/or private methods to it
BulgarianSolitaireSimulator.java A main program that does a Bulgarian Solitaire Simulation. This simulation is described further in the section on the assignment
turninpa2 A shell scr ipt with the command for turning in the assignment. See the section on submitting your program for more details.
Note: this program is due after your midterm exam, but it s a fair amount bigger than the first assignment. We recommend getting started on it before the midterm. It only uses topics before the midterm, so working on it now will also help you prepare for the exam (there will be paper and pencil array programming problems as part of the exam).-SolitaireBoard.java The interface for the SolitaireBoard class it contains stub versions of the functions so it will compile. It also contains some named constants. You will be completing the implementation of this class. You may not change the interface for this class, but you may add private instance variables and/or private methods to it
BulgarianSolitaireSimulator.java A main program that does a Bulgarian Solitaire Simulation. This simulation is described further in the section on the assignment
turninpa2 A shell scr ipt with the command for turning in the assignment. See the section on submitting your program for more details.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
homework2
.........\.DS_Store
__MACOSX
........\homework2
........\.........\._.DS_Store
homework2\BulgarianSolitaireSimulator.java
.........\Game.java
.........\SolitaireBoard.java