nskins / goby

Command-line role-playing game framework
MIT License
122 stars 56 forks source link

Generate minimal scaffolding (Resolves #109) #110

Closed nskins closed 7 years ago

nskins commented 7 years ago

Goby now includes a simple executable that generates a very minimal starter project. A simple main function and Map are included, along with a .gitignore.

In order to try this feature, you will need to install the Goby gem. Until the release of Goby 0.2.0, this must be done while your working directory is the source code root.

$ gem build goby
$ gem install goby

Find a location for your starter project and run the following command to generate the "goby-project" directory:

$ goby

You can run the following to "play" the starter project:

$ ruby goby-project/src/main.rb

Keep in mind that this is not a tutorial or full-fledged example; the purpose of this feature is to provide a quick way to get up and running without the initial "plumbing." Please enjoy and let me know if you have any questions.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling ff411c9f0547499e95f79760396c2f0a2954f6ec on scaffold into e21e54fb54f15f1f8f577d2746306dca0b87c4c7 on master.