Skip to content

Lab---Piratizer.#14

Open
soulloud wants to merge 1 commit intomac-comp124-s14:masterfrom
soulloud:master
Open

Lab---Piratizer.#14
soulloud wants to merge 1 commit intomac-comp124-s14:masterfrom
soulloud:master

Conversation

@soulloud
Copy link
Copy Markdown

Because in the stringTransformer the text is changed by words, so I cannot use '.' or ',' to control if this is the end of the sentence. So I change this into every time I get a Uppercase letter I consider it is the beginning of a sentence, so the char before is the end of the sentence then I can put "Ahoy" or "Arrrr". The only problem is that words like "Darkness" or "Light" is Uppercase letter as well....

And I cannot write a complete test because the output is random.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant