Fun_People Archive
28 Aug
Shakespearian insult generator.
Date: Sun, 28 Aug 94 16:45:09 PDT
To: Fun_People
Subject: Shakespearian insult generator.
Forwarded-by: bostic@CS.Berkeley.EDU (Keith Bostic)
Forwarded-by: Herb Peyerl <Herb.Peyerl@sidney.corp.novatel.ca>
Forwarded by darren@instar.cuc.ab.ca (Darren Holloway)
/*
* Shakespearian insult generator.
*
* - 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","etcxgp","ewttkuj","fcpmkuj","fkuugodnkpi","ftqpkpi","gttcpv","hcypkpi","hqddkpi","htqyctf","htqvj{","inggmkpi","iqcvkuj","iqtdgnnkgf","korgtvkpgpv","kphgevkqwu","lcttkpi","nqiigtjgcfgf","nworkuj","ocoogtkpi","ocpingf","ogynkpi","rcwpej{","rtkddnkpi","rwmkpi","rwp{","swcknkpi","tcpm","tggm{","tqiwkuj","twvvkuj","ucwe{","urnggp{","urqpi{","uwtn{","vqvvgtkpi","wpow||ngf","xckp","xgpqogf","xknnckpqwu","yctrgf","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","hgp/uwemgf","hncr/oqwvjgf","hn{/dkvvgp","hqnn{/hcnngp","hqqn/dqtp","hwnn/iqtigf","iwvu/itkrkpi","jcnh/hcegf","jcuv{/ykvvgf","jgfig/dqtp","jgnn/jcvgf","kfng/jgcfgf","knn/dtggfkpi","knn/pwtvwtgf","mpqvv{/rcvgf","oknm/nkxgtgf","oqvng{/okpfgf","qpkqp/g{gf","rnwog/rnwemgf","rqvvng/fggr","rqz/octmgf","tggnkpi/tkrg","tqwij/jgyp","twfg/itqykpi","twor/hgf","ujctf/dqtpg","ujggr/dkvkpi","urwt/icnngf","uyci/dgnnkgf","vctf{/ickvgf","vkemng/dtckpgf","vqcf/urqvvgf","wtejkp/upqwvgf","ygcvjgt/dkvvgp"
};
static char w3[][25] = {
"crrng/lqjp","dciicig","dctpceng","dncffgt","dqct/rki","dwidgct","dwo/dckng{","ecpmgt/dnquuqo","encem/fkuj","enqvrqng","eqzeqod","eqfrkgeg","fgcvj/vqmgp","fgydgtt{","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","ycivckn"
};
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]));
}
© 1994 Peter Langston