Skip to content
No description, website, or topics provided.
Java Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
loa
testing
Makefile
ReadMe

ReadMe

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.

    Piece.java	 	An enumerated type describing the kinds of pieces.

    Move.java		Represents a single move.

    Direction.java      Represents a direction (north, south, etc.) on a
                        board.

    Board.java	        Represents a game board.  Contains much of the
			machinery for checking or generating possible 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       A utility class for handling debugging output.

    UnitTest.java       Class that performs unit testing of the loa package.



testing/

    Makefile            Directions for testing.

    *.in	        Test cases.  Each one is input to a testing script
                        test-loa.

    *.out		Correct output from some test cases, containing
    			dumps of the board and win messages.
You can’t perform that action at this time.