Anyone good at programming in Java?

Nextruss

Member
:
2003.5 MSP (Titanium)
Need Java help.lol. Here is my assignment (school)

CS 4330 Winter 2005 Assignment 1 <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>

<o:p> </o:p>

<o:p> </o:p>

1215: Hand in printed copies of UML class diagrams and project Description.

2359: Submit jar file of source and instructions to WebCT

<o:p> </o:p>

Implement an application/system that plays the game of GO and enforces the following rules:

<o:p> </o:p>

1) Ensure a plays are legal GO moves and game state reflects effects of play.

2) Allow passing by submitting a Stone with StoneColor.EMPTY and/or by making play with players color to 0,0. A pass means the player does not play and it becomes the opponents turn to play.

3) Capturing rules.

4) Consider suicide moves illegal

<o:p> </o:p>

The following rules and capabilities can be delayed to a subsequent phase:

<o:p> </o:p>

1) Ko rules enforced as Super-KO (no move can duplicate a preceding position)

2) Ability to undo moves, one play at a time back to original starting position.

3) End Game and Scoring

<o:p> </o:p>

<o:p> </o:p>

All work is to be done using Pair-Programming and Design.

Keep Journal entry to account for all effort.

No code should be in the default package.

Use to Junit to write create Unit tests for all methods of all classes.

<o:p> </o:p>

Provide implementations of all interfaces in the testgo.go package.

<o:p> </o:p>

Provide a class with a main function that invokes my test suite.

<o:p> </o:p>

Submissions:<o:p></o:p>

Hand in by end of class:<o:p></o:p>

UML Class Diagram of your application

Sequence Diagram for the following scenarios:

1) A play with capture.

2) An illegal move that violate the No Suicide rule.



At end of day:<o:p></o:p>

Submit via WebCT a jar file containing all developed source code. Also include all jars for non-standard class libraries needed. Also include a README file with compilation and execution instructions and identify the class that includes the Main routine for my testgo suite.

<o:p> </o:p>

<o:p> </o:p>

<o:p> </o:p>

<o:p> </o:p>

---------------------
In the attachment, I have to code/implement the TGridBoard, IllegalMoveException, IllegalPositionException
---------------------
 

Attachments

  • goClasses.webp
    goClasses.webp
    44.9 KB · Views: 108

New Threads and Articles

Back