------------------------ Mancala - Egyptian Rules. COMP 290-059. eXtreme Programming and Agile Methods Final Project - Release 1. @author keithlee [ at ] unc.edu @author olivier [ at ] cs.unc.edu ------------------------ ------------------------ Compile ------------------------ Assumes JUnit 3.8.1 junit.jar is in current directory. Otherwise, change classpath argument to reflect correct location of junit.jar, or include as environment variable for IDE. Code was compiled using Java 5.0. javac -cp .;junit.jar mancala/*.java ------------------------ Code Testing ------------------------ The code testing was broken down into two classes: MancalaGameTest and MancalaBoardTest. MancalaBoardTest tested manipulating the board via adding stones, emptying bins. MancalaGameTest tested the functionality of the game and rules, including a complete game whose moves are specified in the test class. ------------------------ Techincal Interests ------------------------ The MancalaBoard class contains a private data member, frame, which is the gui. MancalaBoard also stores the bin and mancala stone counts. Separate classes were used to construct the more complex buttons and dialogs. MancalaGame is the main class and is used to invoke the application. ------------------------ Test Execution ------------------------ java -cp .;junit.jar mancala.MancalaBoardTest java -cp .;junit.jar mancala.MancalaGameTest ------------------------ Interactive Program Execution ------------------------ java mancala.MancalaGame