/*
* Shakespearian insult generator.
* From the Clip and COmplie series.
* - Get insulted by the greatest writer in the english language.
*
* Program written as a gag by Darren G. Holloway, from a word list
* from Jerry Maguire of Center Grove High School, Greenwood Indiana
* Minor cosmetic changes by P. Langston, 8/94.
*
*/
#include <stdio.h>
#include <stdlib.h>
static char w1[][25] = {
"ctvnguu","dcyf{","dgunwddgtkpi","dqqvnguu","ejwtnkuj","eqemgtgf","enqwvgf","etc
xgp","ewttkuj","fcpmkuj","fkuugodnkpi","ftqpkpi","gttcpv","hcypkpi","hqddkpi","h
tqyctf","htqvj{","inggmkpi","iqcvkuj","iqtdgnnkgf","korgtvkpgpv","kphgevkqwu","l
cttkpi","nqiigtjgcfgf","nworkuj","ocoogtkpi","ocpingf","ogynkpi","rcwpej{","rtkd
dnkpi","rwmkpi","rwp{","swcknkpi","tcpm","tggm{","tqiwkuj","twvvkuj","ucwe{","ur
nggp{","urqpi{","uwtn{","vqvvgtkpi","wpow||ngf","xckp","xgpqogf","xknnckpqwu","y
ctrgf","yc{yctf","yggf{","{gcuv{"
};
static char w2[][25] = {
"dcug/eqwtv","dcv/hqynkpi","dggh/ykvvgf","dggvng/jgcfgf","dqkn/dtckpgf","encrrgt
/encygf","enc{/dtckpgf","eqooqp/mkuukpi","etqqm/rcvgf","fkuocn/ftgcokpi","fk||{/
g{gf","fqijgctvgf","ftgcf/dqnvgf","gctvj/xgzkpi","gnh/umkppgf","hcv/mkfpg{gf","h
gp/uwemgf","hncr/oqwvjgf","hn{/dkvvgp","hqnn{/hcnngp","hqqn/dqtp","hwnn/iqtigf",
"iwvu/itkrkpi","jcnh/hcegf","jcuv{/ykvvgf","jgfig/dqtp","jgnn/jcvgf","kfng/jgcfg
f","knn/dtggfkpi","knn/pwtvwtgf","mpqvv{/rcvgf","oknm/nkxgtgf","oqvng{/okpfgf","
qpkqp/g{gf","rnwog/rnwemgf","rqvvng/fggr","rqz/octmgf","tggnkpi/tkrg","tqwij/jgy
p","twfg/itqykpi","twor/hgf","ujctf/dqtpg","ujggr/dkvkpi","urwt/icnngf","uyci/dg
nnkgf","vctf{/ickvgf","vkemng/dtckpgf","vqcf/urqvvgf","wtejkp/upqwvgf","ygcvjgt/
dkvvgp"
};
static char w3[][25] = {
"crrng/lqjp","dciicig","dctpceng","dncffgt","dqct/rki","dwidgct","dwo/dckng{","e
cpmgt/dnquuqo","encem/fkuj","enqvrqng","eqzeqod","eqfrkgeg","fgcvj/vqmgp","fgydg
tt{","hncr/ftciqp","hncz/ygpej","hnktv/iknn","hqqvnkemgt","hwuvknctkcp","ikingv"
,"iwfigqp","jciictf","jctr{","jgfig/rki","jqtp/dgcuv","jwiigt/owiigt","lqnvjgcf"
,"ngyfuvgt","nqwv","ociiqv/rkg","ocnvyqto","ocoogv","ogcung","okppqy","okuetgcpv
","oqnfyctr","owodng/pgyu","pwv/jqqm","rkfigqp/gii","rkipwv","rwvvqem","rworkqp"
,"tcvudcpg","uewv","umckpuocvg","uvtworgv","xctngv","xcuucn","yjg{/hceg","ycivck
n"
};
char *dc(s)
char *s;
{
static char buf[40];
char *bp=buf;
while(*s)
*bp++=(*s++)-2;
*bp=0;
return(buf);
}
main()
{
srand((unsigned int)time(0));
printf("Thou %s ",dc(w1[(rand()>>8)%50]));
printf("%s ",dc(w2[(rand()>>8)%50]));
printf("%s!\n",dc(w3[(rand()>>8)%50]));
}
/* Example outputs:
Thou loggerheaded reeling-ripe boar-pig!
Thou paunchyonion-eyed mammet!
Thou mewling pox-marked gudgeon!
Thou rank knotty-pated clotpole!
Thou puny hedge-born vassal!
Thou sleeny idle-headd mumble-news!
Thou fawning spur-galled clack-dish!
Thou gorbellied reeling-ripe vassal!
Thou gleeking rude-growing mumble-news!
Thou lumpish plume-plucked hugger-mugger!
Gleeking? Lumpish? Clotpole!? Who talks like this? -- Adam */