文件名称:hw2
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2015-03-14
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- Lann*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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-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).
BulgarianSolitaireSimulator.java A main program that does a Bulgarian Solitaire Simulation. This simulation is described further in the section on the assignment-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).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
hw2
...\BulgarianSolitaireSimulator.java
...\SolitaireBoard.java