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
Rebecca Schofield c9ab7c2622 working on AI
2015-10-20 19:01:30 -05:00
a.out working on AI 2015-10-20 19:01:30 -05:00
Board.cpp working on AI 2015-10-20 19:01:30 -05:00
Board.h working on AI 2015-10-20 19:01:30 -05:00
Client.cpp Updated master with my branch's file 2015-10-20 14:33:56 -05:00
Example socketProgramming Create Example socketProgramming 2015-10-17 17:33:11 -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.cpp Updated master with my branch's file 2015-10-20 14:33:11 -05:00
test.cpp working on AI 2015-10-20 19:01:30 -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.