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:
= Copy to clipboard Copied!

install:
=

Versions:

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

Development Dependencies (1):

rspec >= 2.8.0, ~> 2.8

Owners:

Pushed by:

Authors:

  • andydwyer

SHA 256 checksum:

738e7c4a802853bd62e7f873422bd096b3a654e42063fabbd31c3e42dc4f03d0

Total downloads 3,027

For this version 1,284

License:

MIT

Required Ruby Version: >= 1.9

Links: