No description
This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2015-10-19 16:45:38 -05:00
a.out merge and restructure 2015-10-19 16:45:38 -05:00
Board.cpp merge and restructure 2015-10-19 16:45:38 -05:00
Board.h merge and restructure 2015-10-19 16:45:38 -05:00
client.C Create client.C 2015-10-14 16:54:10 -05:00
Example socketProgramming Create Example socketProgramming 2015-10-17 17:33:11 -05:00
main.cpp merge and restructure 2015-10-19 16:45:38 -05:00
Parser.cpp Initial Parser commit. 2015-10-12 17:19:07 -05:00
Parser.h Initial Parser commit. 2015-10-12 17:19:07 -05:00
README.md Update README.md 2015-10-17 17:48:30 -05:00
server.C Create server.C 2015-10-14 16:54:46 -05:00
test.cpp merge and restructure 2015-10-19 16:45:38 -05:00
test.txt testing 2015-10-07 16:42:42 -05:00

Breakthrough

Reposity for the second CSCE 315 project

The main.cpp file contains all the structure necessary to play breakthrough in a local machine; it has all the classes incorporated to it, and it seems to be bug-free and bulletproof. So far, it only has a simple AI that picks random movements.

To test it:

  • compile using c++11. For example: g++ -std=c++11 main.cpp
  • An example of valid command is: B2_FWD, where B is the column letter, 2 is the row number (see board print on screen when running the program), underscore, and either "FWD" for forward, "LEFT" for moving a piece forward (relative to the piece) and left (relative to the board, not the piece), or "RIGHT" (similar to left, but moving right relative to the board).

As of now, the program will automatically terminate once either player wins.