Sinisterly
Shakespearian Cursing Generator - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Java, JVM, & JRE (https://sinister.li/Forum-Java-JVM-JRE)
+--- Thread: Shakespearian Cursing Generator (/Thread-Shakespearian-Cursing-Generator)

Pages: 1 2


Shakespearian Cursing Generator - Inori - 01-14-2016

I've started doing Shakespeare in english (fml) and our first assignment was to yell at eachother using shakespearean insults. Naturally, I made something to do the generating for me.

It's not exactly a practical project, but could be a nice proof of concept for keygens and related concepts.

Source:
Spoiler:
Code:
import java.util.Random; public class Main extends javax.swing.JFrame{ private java.awt.Button button1; private javax.swing.JLabel jLabel1; private javax.swing.JTextField jTextField1; public static String[] a= {"artless","bawdy","beslubbering","bootless","churlish","cockered","clouted","craven","currish","dankish","dissembling","droning","errant","fawning","fobbing","froward","frothy","gleeking","goatish","gorbellied","impertinent","infectious","jarring","loggerheaded","lumpish","mammering","mangled","mewling","paunchy","pribbling","puking","puny","quailing","rank","reeky","roguish","ruttish","saucy","spleeny","spongy","surly","tottering","unmuzzled","vain","venomed","villainous","warped","wayward","weedy","yeasty"}; public static String[] b={"base-court","bat-fowling","beef-witted","beetle-headed","boil-brained","clapper-clawed","clay-brained","common-kissing","crook-pated","dismal-dreaming","dizzy-eyed","doghearted","dread-bolted","earth-vexing","elf-skinned","fat-kidneyed","fen-sucked","flap-mouthed","fly-bitten","folly-fallen","fool-born","full-gorged","guts-griping","half-faced","hasty-witted","hedge-born","hell-hated","idle-headed","ill-breeding","ill-nurtured","knotty-pated","milk-livered","motley-minded","onion-eyed","plume-plucked","pottle-deep","pox-marked","reeling-ripe","rough-hewn","rude-growing","rump-fed","shard-borne","sheep-biting","spur-galled","swag-bellied","tardy-gaited","tickle-brained","toad-spotted","urchin-snouted","weather-bitten"}; public static String[] c={"apple-john","baggage","barnacle","bladder","boar-pig","bugbear","bum-bailey","canker-blossom","clack-dish","clotpole","coxcomb","codpiece","death-token","dewberry","flap-dragon","flax-wench","flirt-gill","foot-licker","gustilarian","giglet","hudgeon","haggard","harpy","hedge-pig","horn-beast","hugger-mugger","holthead","lewdster","lout","maggot-pie","malt-worm","mammet","measle","minnow","miscreant","moldwarp","mumble-news","nut-hook","pigeon-egg","pignut","puttock","rumpion","ratsbane","scut","skainsmate","strumpet","sarlet","wassal","whey-face","wagtail"}; public Main(){ initComponents(); } @SuppressWarnings("unchecked") private void initComponents(){ jLabel1=new javax.swing.JLabel(); jTextField1=new javax.swing.JTextField(); button1=new java.awt.Button(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setTitle("Shakespeare Cursing"); jLabel1.setText("Thou art a..."); button1.setLabel("Generate"); button1.addActionListener(new java.awt.event.ActionListener(){ public void actionPerformed(java.awt.event.ActionEvent evt){ button1ActionPerformed(evt); } }); javax.swing.GroupLayout layout=new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap().addComponent(jLabel1).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(jTextField1,javax.swing.GroupLayout.DEFAULT_SIZE,208,Short.MAX_VALUE).addContainerGap()).addGroup(layout.createSequentialGroup().addGap(110,110,110).addComponent(button1,javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.PREFERRED_SIZE).addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,Short.MAX_VALUE))); layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(layout.createSequentialGroup().addGap(13,13,13).addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE).addComponent(jLabel1).addComponent(jTextField1,javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.PREFERRED_SIZE)).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,javax.swing.GroupLayout.DEFAULT_SIZE,Short.MAX_VALUE).addComponent(button1,javax.swing.GroupLayout.PREFERRED_SIZE,javax.swing.GroupLayout.DEFAULT_SIZE,javax.swing.GroupLayout.PREFERRED_SIZE).addContainerGap())); button1.getAccessibleContext().setAccessibleDescription("Create thy banter"); pack(); } private void button1ActionPerformed(java.awt.event.ActionEvent evt){ jTextField1.setText(a[new Random().nextInt(a.length)]+" "+b[new Random().nextInt(b.length)]+" "+c[new Random().nextInt(c.length)]); } public static void main(String[] args){ java.awt.EventQueue.invokeLater(new Runnable(){ public void run(){ new Main().setVisible(true); } }); } }


jar:
https://mega.nz/#!OUVXBaoS!4aPuqUgMOzX3jLz3S7g5p9WJ4XBFgvzOcioyd-I-wDs


RE: Shakespearian Cursing Generator - Oni - 02-08-2016

This is legit. You should do one with some legitimately foul names, although nobody likes being called a craven reeling-ripe scut.

Spoiler:
craven reeling-ripe scut = drunk and cowardly bunny/deer tail



RE: Shakespearian Cursing Generator - Inori - 02-09-2016

(02-08-2016, 09:40 AM)Oni Wrote: This is legit. You should do one with some legitimately foul names, although nobody likes being called a craven reeling-ripe scut.

Spoiler:
craven reeling-ripe scut = drunk and cowardly bunny/deer tail

loadable wordlists?


RE: Shakespearian Cursing Generator - Oni - 02-09-2016

(02-09-2016, 02:30 AM)Chitoge Wrote: loadable wordlists?

That would be cool.


RE: Shakespearian Cursing Generator - Jiggly - 02-10-2016

This seems utterly hilarious. Makes me wonder how much I can insult my History and English student housemate...


RE: Shakespearian Cursing Generator - RA1N - 02-10-2016

Haha, Very entertaining.

I had to make something like this in my Introduction to Computer Programming class in High School. Making apps like this makes me smile due to the simplicity, creativity, and entertainment aspects of them. Maybe more of a time consuming thing to do but, never the less it is always fun to see.


RE: Shakespearian Cursing Generator - Inori - 02-11-2016

(02-10-2016, 10:58 PM)RA1N Wrote: Haha, Very entertaining.

I had to make something like this in my Introduction to Computer Programming class in High School. Making apps like this makes me smile due to the simplicity, creativity, and entertainment aspects of them. Maybe more of a time consuming thing to do but, never the less it is always fun to see.

Damn, we haven't even started using swing in my compsci class, and I doubt we will next year. Did this is netbeans, then trimmed it down to the essentials.

Edit: Holy shit, you're back! Where the hell have you been for the last year and a half?


RE: Shakespearian Cursing Generator - RA1N - 02-11-2016

(02-11-2016, 01:42 PM)Chitoge Wrote: Damn, we haven't even started using swing in my compsci class, and I doubt we will next year. Did this is netbeans, then trimmed it down to the essentials.

Edit: Holy shit, you're back! Where the hell have you been for the last year and a half?

I have been pursuing some life goals and making my dreams a reality man! I am so glad to be back seeing old faces and a lot of new ones. Once an HC Member always an HC Member. I have missed a lot of you guys and I couldn't be more excited about being here!


RE: Shakespearian Cursing Generator - YukanolFukov762 - 02-26-2016

I'm really digging on the generator, it'll be fun to troll some people with it.


RE: Shakespearian Cursing Generator - highhopes18 - 03-07-2016

amazing... thank you, this is really good.