-
Notifications
You must be signed in to change notification settings - Fork 1
/
ReadMe
55 lines (33 loc) · 1.92 KB
/
ReadMe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
This directory contains a skeleton for CS61B Project 3. A project specification can be found at
https://inst.eecs.berkeley.edu/~cs61b/fa12/labs/proj3.pdf
*Note: This project was compiled on UC Berkeley instructional machines and may need auxilary files and packages to compile and run.
CONTENTS:
ReadMe This file.
Makefile A makefile (for gmake) that will compile your
files and run tests. You must turn in a Makefile,
'gmake ' must compile all your files, and
'gmake check' must perform all your tests.
Currently, this makefile is set up to do just
that with our skeleton files. Be sure to keep
it up to date.
loa/ Directory containing the Lines of Action package.
Makefile A convenience Makefile so that you can issue
compilation commands from the game directory.
Side.java An enumerated type describing the two sides (black
or white).
Piece.java An enumerated type describing the kinds of pieces.
Move.java Represents a single move.
Board.java Represents a game board. Contains much of the
machinery for checking or generating possible moves.
MutableBoard.java A subtype of Board on which one can make moves.
HumanPlayer.java A kind of Player that reads moves from the standard
input (i.e., presumably from a human player).
MachinePlayer.java A kind of Player that chooses its moves automatically.
Reporter.java From Project 2: a utility class for handling debugging
output.
UnitTest.java Class that performs unit testing of the loa package.
tests/ A directory of tests. At the moment, there's nothing
there. We'll be supplying a testing script (test-loa)
and a sample test in a bit.
test*.inp Test cases. Each one is input to a testing script
test-loa, which we will be providing.