Version 1.0.1 Update Notes:
-Updated README “HOW TO RUN” -I’m not sure how to format this so it looks good on the gems website so please just see the README file.
USE CASES:
-
Your friends bully you because your imaginary role playing worlds are predictable and boring.
-
You like seeing chars printed in nifty patterns.
HOW TO RUN:
-
Run ‘super_simple_world_builder`
-
Follow the prompts
EXAMPLE INPUT:
Guten Tag! Welcome to Super Simple World Builder. Enter 1 to build a random world Enter 2 to build a custom world Please enter your selection (1, 2, or exit): 2 Enter the name of your world: Community-Town Enter the minimum width of the world: 15 Enter the minimum height of the world: 15 What character do you want to fill the background of your world with? (i.e. any character or single space)
How many lake features do you want? 3 How many mountain features do you want? 2 How many town features do you want? 3 How many forest features do you want? 4
OUTPUT:
-
Console print out of the world map
-
A text file of the world map
ACHTUNG:
-
Don’t worry if the width or height entered is too small. The world will automatically enlarge to fit all features.
-
World maps look better when you enter a <space> as the character to fill the background.
-
This is a quick-and-dirty project so yolo with the specs. I added comments as a consolation prize.
-
See ‘feature_set.rb` to tweak the features that can be added to the world map.
-
Interestingly, menu prompts may not show up in the git bash terminal. But they do show up in Windows command prompt, so lmao.
-
Feel free to tweak the code however you like. I plan to refactor in the future to dry up some sections.