![]()
Introduction
The object of the CounterAttack game is to match similar tiles together. The game is made up of a 6x6 board with 35 tiles and one blank space. Tiles can be moved if they are adjacent to the blank space. The game has three different levels, each with a different level of difficulty. There are three different types of tiles besides of the neutual yellow tiles. Your task is to move the same type of tiles next to each other so they all become yellow.
To view a screenshot from the game click here.
The game also features an MP3 engine which you can use to listen to your favorite music while you play the game. This can be accessed using the "MUSIC" button.How to Play
CounterAttack can be run in one of two modes. Choose one player to play yourself. You can also choose two player mode to compete with another player over the Internet. To change a tile to YELLOW you must match that tile with a tile(s) of the same type. Matches can only be horizontally or vertically, not diagonally. Tiles can be moved if they locate next to the blank space on the board. Tiles can also wrap around the board. If the blank space is on the edge of the board, you can move the tile which is located in the other end of tile. See the RULES screen within CounterAttack for a more detailed summary of the game rules.How to Install
To download and run the game click here! (1.24 MB)
Simply unzip the files to a directory on your hard disk and run "CounterAttack.bat"
Note: The source code for the client and server are located in the counterattack and counterattackserver folders.
Compiling Source Code
All files for the client are in a counterattack package. Therefore the must be kept in a "counterattack" (preserve lowercase) folder. To compile the source code, go to DOS and run "javac .\counterattack\CounterAttack.java".
Note: This command must be run from the directory where your "counterattack" folder is located, not from within the "counterattack" folder.
To run the game enter "java counterattack.CounterAttack"
All files for the server are in a counterattackserver package. Therefore the must be kept in a "counterattackserver" (preserve lowercase) folder. To compile the source code, go to DOS and run "javac .\counterattackserver\CounterAttackServer.java".
Note: This command must be run from the directory where your "counterattackserver" folder is located, not from within the "counterattackserver" folder.
To start the server run "java counterattackserver.CounterAttackServer"
Note: In the root directory for the game you will find parameters.txt. The first line of this file specifies the IP address of the server. If you are running the client on the same machine as the server you can type "ipconfig" at the DOS prompt to get your IP address.Team Members:
Alan Lambe
Wendi Alexandrin
Maulan Byron