summaryrefslogtreecommitdiff
path: root/blarandom.cpp
diff options
context:
space:
mode:
authorwjoe <joe@lc8n.com>2012-07-11 17:01:24 +0100
committerwjoe <joe@lc8n.com>2012-07-11 17:01:24 +0100
commit4ab6772c6c8f5adf9e897e88ee07505359e05358 (patch)
tree064cee024e660b06c4acc5055816f320c361de03 /blarandom.cpp
parentf5b5b79a70d2cdbaf021072ba5ed10127bcb23f2 (diff)
Added thebluelist
Diffstat (limited to 'blarandom.cpp')
-rw-r--r--blarandom.cpp104
1 files changed, 100 insertions, 4 deletions
diff --git a/blarandom.cpp b/blarandom.cpp
index 2bbe7e3..1a0708e 100644
--- a/blarandom.cpp
+++ b/blarandom.cpp
@@ -29,6 +29,8 @@
v0.6 - Can now use count with presets
v0.61 - Added error handling for 8ball, removed ability to count
v0.62 - Fixed 8ball handling more than one word
+ v0.7 - Added thebluelist (this should really be a separate file)
+
*/
@@ -41,7 +43,7 @@
int main() {
- std::string version = "0.62";
+ std::string version = "0.7";
RandomLib::Random r; // Create r
r.Reseed(); // and give it a unique seed
@@ -91,7 +93,7 @@ int main() {
bool eightball = false;
bool dice = false;
bool d20 = false;
-
+ bool wolf = false;
if (args[0].empty()) {
min = 1;
max = 10;
@@ -130,9 +132,13 @@ int main() {
return 1;
}
+ } else if (!args[0].compare("wolf")) {
+ min = 1;
+ max = 85;
+ wolf = true;
}
- if (coin || dice || letter || d20) {
+ if (coin || dice || letter || d20 || wolf) {
if (args[1].empty()) {
count = 1;
} else {
@@ -163,7 +169,95 @@ int main() {
"You will have to wait.",
"Yes, in due time.",
"I have my doubts." };
-
+
+ std::string theBlueList[86] = {
+"Geolocate somebody on the internet and see whether we can convince them to meet us at local bars/restaurants",
+"Smash a glass over somebody's hand",
+"The piano room",
+"pee in bush",
+"sex in toilets",
+"sex outside lemmy",
+"writing on wall",
+"lots of people in a phone box",
+"lose important stuff",
+"a thousand jager trains in a day",
+"go to exmouth, on a train, drinking special brew",
+"special brew",
+"guitar hero",
+"Punch bag",
+"Blue room drinking",
+"bottle of whisky for a single person",
+"epic amounts of Jugs of sangria",
+"Knob on",
+"cock or ball",
+"Talking to Jen",
+"yard of gravy",
+"long pour",
+"play in park",
+"straight arm a pitcher!",
+"ben getting naked everywhere",
+"Somebody should break their wrist!",
+"climbing over bus stop",
+"breaking a piece of machinery somewhere on campus",
+"pooing in a random toilet in the building",
+"Stealing a sign and throwing it down the lift shaft",
+"snorting pro plus",
+"TAG TEAM VOMITING",
+"Going under the Libray",
+"Getting into some sort of void of stairs in the ram building..somewhere",
+"throwing a glass out a window",
+"Vomiting on the Royal Albert Memorial museum",
+"flushing a shoe in a toilet",
+"*falling* through a very muddy field",
+"throwing phones at and into all kinds of things and places",
+"buying an innumerable quantity of popplers",
+"being unsuitable around jen",
+"putting on absolutely fucking HUGE amounts of ram music",
+"pissing in a sink in a random sink in the building",
+"pissing in a bin with at least one other person",
+"doing silly things to people who are sleeping",
+"bon going mental on the roundabout",
+"go to every pub in exeter",
+"anger summer",
+"RUINING nandos",
+"get shouted at repeatedly in RUBY TUESDAY",
+"buying 1000 frys from KFC then dropping them as we ran tot he train station",
+"drink a mayonnaise shot",
+"having an impy brekfast",
+"staying awake 52 hours",
+"having lots of living room breakfasts",
+"sleeping in lots of pubs",
+"BOWLING PLATTER.",
+"sing shutupwomangetonmyhorse very loudly everywhere",
+"take photos of intense marcus everywhere",
+"steal some tyres and some cones, then roll the tyres down a road",
+"set a tyre on fire",
+"pizza hut all you can eat.",
+"literally chunder everywhere",
+"go to exmouth",
+"THE VIPER",
+"watch Rejected under the library",
+"watch lost in translation",
+"eat pizza in the blue room",
+"drink in the blue room",
+"DRINK WITH PETER KNAGGS",
+"take pints to reverson's room",
+"watch bicha muda repeatedly",
+"Thank Sue Addo.",
+"everyone needs to buy green tshirts from primark",
+"hats.",
+"the real mccoys",
+"Lots of Wagamama.",
+"I'm the batman!",
+"EXMOUTH ARCADE.",
+"crash a house party",
+"Thank Sue Addo.",
+"shout AAAAAAAAAAARRRRRRRRRGGGGGGGHHHHHH in a car",
+"declare love to various barmaids",
+"Listning to the classic project!!!",
+"barbeque",
+"steps place"
+};
for (int i = 0; i < count; i++) {
intResult = r.IntegerC(min, max);
if (coin) {
@@ -176,6 +270,8 @@ int main() {
strResult = letters[intResult];
} else if (eightball) {
strResult = eightBallStr[intResult];
+ } else if (wolf) {
+ strResult = theBlueList[intResult];
} else {
std::stringstream ss;
ss << intResult;