Skip to content

Commit 327249d

Browse files
committed
added readme. Removed some dead code but a lot of my changes are gone. hmm
1 parent 2413d36 commit 327249d

File tree

2 files changed

+56
-10
lines changed

2 files changed

+56
-10
lines changed

README.txt

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
____ __ ____ ___ .______ _______. ______ _______ ______ ___ .___________. ___ .__ __.
2+
\ \ / \ / / / \ | _ \ / | / __ \ | ____| / | / \ | | / \ | \ | |
3+
\ \/ \/ / / ^ \ | |_) | | (----` | | | | | |__ | ,----' / ^ \ `---| |----` / ^ \ | \| |
4+
\ / / /_\ \ | / \ \ | | | | | __| | | / /_\ \ | | / /_\ \ | . ` |
5+
\ /\ / / _____ \ | |\ \----.----) | | `--' | | | | `----./ _____ \ | | / _____ \ | |\ |
6+
\__/ \__/ /__/ \__\ | _| `._____|_______/ \______/ |__| \______/__/ \__\ |__| /__/ \__\ |__| \__|
7+
8+
9+
Contributors: Ankit Bhutani, Paul Graff, Kyle Grage, Marty Malecki, Alex Politakis, Cody Schuffelen
10+
11+
12+
13+
14+
15+
Congratulations on your purchase of Wars of Catan!
16+
This program recreates the popular board game, Settlers of Catan, with a few added features.
17+
18+
To begin, ensure you have 4 players. The player whose birthday is closes to the current day is player 1, and will command the Southern Tribes.
19+
Players are subsequently assigned clockwise from player 1. This assignment must happen before launching! Run the enclosed executable warsofcatan.exe.
20+
21+
Players control the following empires:
22+
23+
Player 1: Southern Tribes
24+
Player 2: Western Watch
25+
Player 3: North Guard
26+
Player 4: East Raiders
27+
28+
Each player begins the game with one road building card, to be used however the player sees fit.
29+
30+
For rules on playing the game, see catan.com/service/game-rules
31+
32+
To purchase any of the structures available in the game, click on the corresponding button at the bottom left.
33+
To purchase a development card, click on the Development card text at the bottom right.
34+
35+
Note: Purchasing a wonder requires 5 of every resource, and grants an instant 10 victory points.
36+
37+
FAQ:
38+
Q: Why can't I see how many resources I have?
39+
A: To discourage cheating, resource totals are obscured upon changing turns. A player can see his/her totals by clicking the "Display Totals" button.
40+
41+
Q: How can I contribute to the project?
42+
A: The project is open source, and hosted at http:github.com/Databean/warsofcatan. Contributors should reference warsofcatan/src/BoardLayout.txt/
43+
44+
Q: How did you come up with the idea for the wonder? I've literally never had so much fun with a gameplay element.
45+
46+
47+
48+
49+
50+
51+
52+
53+

src/GameBoard.cpp

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,21 +1249,14 @@ Player& GameBoard::getPlayer(int index) {
12491249
*/
12501250
std::pair<int, int> GameBoard::startTurn() {
12511251
int roll = dice.roll();
1252-
if (roll == 7) {
1253-
enableRobber();
1254-
} else {
1252+
12551253
payoutResources(roll);
1256-
}
1254+
12571255

12581256
return std::make_pair(dice.getFirst(), dice.getSecond());
12591257
}
12601258

1261-
/**
1262-
* When a 7 is rolled, this enforces resource discarding and allows the current player to move the robber
1263-
*/
1264-
void GameBoard::enableRobber() {
1265-
//Do some straight up robber stuff.
1266-
}
1259+
12671260

12681261
/**
12691262
* This pays resources based on the current roll

0 commit comments

Comments
 (0)