Experiment 1 - Hello Glitch/Generator

Hello!

Translated from cmpm147-ex01-bad-quests on glitch.com

Description

Create a unique generator on glitch.com and move the working generator to my portfolio page.
This generator generates the name of your captain and their hearty crew. Additionally, you may receive special powers called Devil Fruits that can help combat any enemies that you may come across.

Technical

A grammar is defined with simple replacement tokens. A replacer() function picks a random replacement for any token that appears in the text.

Reflection

I struggled a bit to figure out how to transfer everything over to a static HTML page from Glitch. Although, it was seamless once I ironed out all the small differences. Furthermore, I was able to edit the portfolio website a little bit. I am hoping to continue to improve this design as the class goes on.