? Weird Limerick Generator ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Contest results!

Weird Limerick Generator

Submitted
Updated
Author
Unclesporky
Public Key
ESN3A334
Min. Compat.
All
Version
1.0
Size
537 kB
Rating
10 votes
Description A bizarre limerick generator! Results will often make no sense! But fun to see what it comes up with... Instructions - Run LIMERICK - Press A when prompted That's it! Notes The program first assembles the limerick into one long string, using a couple escape characters I defined for newline and end. It reads data sets for each part of the limerick, first getting the total number of entries in each set and then choosing one at random. For the rhyming parts, it uses the same entry number in each section so that they match up. It also pushes syllable counts for every word into an array as it reads them from data, so that delays can be timed properly to match up with the song. Then it begins playback of the song, timing the printing of each word to match up with the beat (2 syllable words stay up for 2 beats etc.). An index is used as it reads through the limerick string, breaking out each word when it encounters a space, printing it, and generating some particles underneath it. The particle system is kind of shoddy and hard-coded to do specific things, it's mostly just thrown together to make it work for the purposes of this program.
Categories
Keywords
  • fun
  • weird
  • text
  • poetry
  • limerick
  • particles
  • music
3 Comment(s) ElijahPWG ElijahPWG The was a rich slacker last june Who crushed his wife's house with a spoon While eating his feet He wrinkled concrete You won't see him anytime soon. andritolion andritolion Pokemon Is Awesome! I love Pokemon! Express Yourself Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Night Person I like the quiet night and sleep late. Express Yourself I wonder what happened to Sporky... He is inactive on Miiverse and on here... I love this program he made and his Super Mario Maker levels! snail_ snail_ Helper Received for being very helpful around SmileBASIC Source Achievements OSP Contest 2 Contest Participant I participated in the second SmileBASIC Source OSP Contest! Night Person I like the quiet night and sleep late. Express Yourself Hehe, this is neat. +1