Skip to content

IRakhman/KJumpingCubes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Author: Brandon A. Maushund
Version 1.0 11/15/2013

This directory contains source code for a Java game, Jump61, which is
a varient of the Commodore 64 game, KJumpingCube 

To play the game: While in the project directory, run "java jump61.Main"

CONTENTS:

README                  This file. It strongly wants to be read. 
        
Makefile                For those of you using the standard Unix tool chain
                        rather than Eclipse, this file provides for some
                        simple compilation/testing control.  See the 
                        comments in it for the targets provided.  Those of
                        you using Eclipse won't need it.


jump61/

    Makefile           A simple makefile that delegates all requests to
                       the outer directory's makefile.
                        
    Main.java          Entry point to program. 

    UnitTest.java      Main unit-test file, which calls any others.

    Color.java          Defines symbolic names for the colors of squares
                        and players.

    Board.java          The superclass of playing boards.

    ConstantBoard.java  A type of Board that delegates operations to another
                        Board and does not allow operations that modify a
                        Board.

    MutableBoard.java   A type of Board whose contents can be changed.

    Game.java           Abstracts the complete state of a game and
                        solicits moves from Players.

    Player.java         The superclass of all types of Players.  A Player is
                        something that makes moves.

    HumanPlayer.java    Represents a player who sits at the terminal typing
                        moves.

    AI.java             An automated (AI) player. Uses the minimax method up to
                        a depth of 4 to make moves. Depth can be altered, although
                        computation time will increase. 

    Defaults.java       Gathering place for default parameters.

    GameException.java  Used for internal signalling of user errors,

    Usage.txt           A resource containing a Usage message.
    Help.txt            A resource containing a summary of commands for the game.

    BoardTest.java      Some unit tests on Boards.

    GameTest.java       Some unit tests for the game state. 

tests/

    correct/

       test1.in         Simple test, showing the format of test files.
                        REMINDER: This is a sample only.  It DOESN'T 
                        constitute an adequate test.  
       test1.std        Expected boards output by the 'dump' command in
                        test1.in

    error/

       command1.in      Simple input containing erroneous commands.  The
                        program must report and ignore these commands without
                        crashing.
       command1.std     Expected boards output by the 'dump' command in
                        command1.in

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors