This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//discards all input in the standard input stream up to and including the first newline. | |
#include <limits> | |
cin.ignore(numeric_limits<streamsize>::max(), '\n'); | |
//This is a string of special characters that clears the terminal on both linux and windows. | |
cout << "\033[2J\033[1;1H"; | |
//This rolls a random number, but I'm not happy with it | |
//because it seems to segfault if it's passed a negative number | |
//for now, force anything less than 1 to become 1. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ | |
-seed 1756522551 (items, features): | |
D2 Feats: radiant _Vehumet | |
D3 Items: "faith, | |
=magic, | |
Feats: Zin's Purification Station, blossoming _Fedhas, | |
glowing silver _Zin, sacrificial _Ru, | |
transporter x2 | |
D4 Items: +0 long sword of electrocution, +1 pair of gloves, | |
+4 ring mail of Gozag's Displeasure {rF+ Int+4 Slay+2}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ | |
-seed 58420833 (items, features): | |
D:3 Items: amulet of guardian spirit, | |
Features: a glowing silver Zin, a shattered Ashenzari | |
D:4 Features: a sand-covered staircase, a white marble Elyvilon | |
D:5 Items: wand enslavement (9) | |
Features: a hide-covered Uskayaw | |
~ | |
-seed 216161769 (items, features): | |
D:2 Items: Book Minor Magic, ring protection from fire |