orffen / swn-rb Goto Github PK
View Code? Open in Web Editor NEWThe Stars Without Number Toolbox, Ruby edition
License: Other
The Stars Without Number Toolbox, Ruby edition
License: Other
RDocs follow internal logic but could be improved to match a style guide (if I can actually find one...)
The Python version of the toolbox has a trade generator added; add one for the Ruby version based on Suns of Gold.
The code uses each when it should use times (i.e. when it only needs to do something a number of times, not modify each element)
Fix code per guidelines in Confident Ruby
Currently all the scripts will crash non-gracefully (if they show a crash message at all) - e.g.:
ruby alien.rb five
ruby adventure.rb
adventure.rb:37:in 'read': No such file or directory - tables/adventure.json (Errno::ENOENT)
'
from adventure.rb:37:in 'initialize'
from adventure.rb:50:in 'new'
from adventure.rb:50:in 'block in
from adventure.rb:49:in 'each'
from adventure.rb:49:in ''
Currently missing a factions generator
Should be refactored to use times instead. This will also clean up json file (consistency):
[num assets primary stat], [num assets other stats]
Add a script which will generate an entire world with fauna, architectural styles, faction(s) and adventure seeds.
Printing the generators in YAML should be possible without impacting readability for CLI output. This will make it easier to serialise the data in a future release.
Add name attributes to the various objects and random name generators to be used if no name is specified.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.