Skip to content

70_Poetry in Lua#951

Open
awestsecurity wants to merge 1 commit intocoding-horror:mainfrom
awestsecurity:70_Poetry_Lua
Open

70_Poetry in Lua#951
awestsecurity wants to merge 1 commit intocoding-horror:mainfrom
awestsecurity:70_Poetry_Lua

Conversation

@awestsecurity
Copy link
Copy Markdown

A working port of the poetry game in Lua.
Changes

  • Variables were given meaningful names
  • Added a limit so it did not spit out infinite poetry at lightning speed. Lua doesn't have a sleep() otherwise I'd prefer just slowing it down.
  • The variable U was changed to a boolean for readability. It was .
  • Adjusted the randomizing to work with any number of phrases since Dave Ahl encouraged users to write their own content for the poems.

A working port of the poetry game in Lua.
-Variables were given meaningful names
-Added a limit so it did not spit out infinite poetry at lightning speed.
-The variable U was changed to a boolean for readability.
-Adjusted the randomizing to work with any number of phrases since Dave Ahl encouraged users to write their own content for the poems.
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