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.
breakthroughpine64backup/README.md

13 lines
821 B
Markdown
Raw Normal View History

2015-10-07 15:56:59 -05:00
# Breakthrough
Reposity for the second CSCE 315 project
2015-10-14 17:18:23 -05:00
2015-10-17 17:48:30 -05:00
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.
2015-10-14 17:18:23 -05:00
2015-10-17 17:48:30 -05:00
To test it:
2015-10-14 17:18:23 -05:00
2015-10-17 17:48:30 -05:00
- 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).
2015-10-14 17:18:23 -05:00
2015-10-17 17:48:30 -05:00
As of now, the program will automatically terminate once either player wins.
2015-10-14 17:18:23 -05:00