Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

super_simple_world_builder

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

super_simple_world_builder

  • 1.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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:

  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 super_simple_world_builder
  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.

FAQs

Package last updated on 21 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc