RubyGems Navigation menu

super_simple_world_builder 1.0.0

USE CASES: 1. Your friends bully you because your imaginary role playing worlds are predictable and boring. 2. You like seeing chars printed in nifty patterns. HOW TO RUN: 1. Run `ruby super_simple_world_builder.rb` 2. 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: 1. Console print out of the world map 2. A text file of the world map ACHTUNG: 1. Don't worry if the width or height entered is too small. The world will automatically enlarge to fit all features. 2. World maps look better when you enter a as the character to fill the background. 3. This is a quick-and-dirty project so yolo with the specs. I added comments as a consolation prize. 4. See `feature_set.rb` to tweak the features that can be added to the world map. 5. Interestingly, menu prompts may not show up in the git bash terminal. But they do show up in Windows command prompt, so lmao. 6. Feel free to tweak the code however you like. I plan to refactor in the future to dry up some sections.

Gemfile:
=

安装:
=

版本列表:

  1. 1.0.1 May 21, 2020 (8.0 KB)
  2. 1.0.0 May 21, 2020 (8.0 KB)

Development 依赖 (1):

rspec >= 2.8.0, ~> 2.8

业主:

推送:

作者:

  • andydwyer

SHA 256 校验和:

=

下载总量 3,210

这个版本 1,363

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 1.9

链接: