CS 111- Introduction to Computer Science
Homework #13


Due at the beginning of class 39.

Ataxx Part 1

0. Learn Ataxx:

1. Implement AtaxxState: Implement a class AtaxxState.java according to this specification.

2. Test AtaxxState: Test your class using the provided GUI.  Usage: "java Ataxx".  Single-click onto an adjacent grid cell to grow into it.  Click and drag a piece to indicate a jump move.  Note that this will generate text input that will be useful for testing your text-based AtaxxGame.java.

3. Implement AtaxxGame: Implement a class AtaxxGame.java according to this specificationTest inputs with output transcripts (including input) are provided.  Note that this text-based game implementation will largely rely on the methods you have implemented in AtaxxState.java.  No printing should occur in AtaxxState.java.  There should be a strict separation of game model (the state) and the interface (text or GUI).