castwide / gamefic-sdk Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I apologize if I'm doing something wrong but the examples here no longer seem to work for Gamefic 2.0, or perhaps I need to specifically require something to make them work. In one particular case the API for connecting rooms has definitely changed. In another case libraries required in the examples cannot be found. Are these expected to work as-is right now or are they out of date?
I use this library with a student who is learning Ruby. In general much can be learned from reading the gamefic source, which is fine for me but difficult for a beginner. I'd love to see (or help you create) examples of some common adventure game idioms, for example to combine two items to create a new item in your inventory, or a clearer example of how locked doors between rooms work.
Thank you for the work on this project! It is really quite cool and is a great way for me to work with my student on something fun.
I'm fairly new to Ruby and can't figure out how to start a new project.
The README says that running this should be enough:
gem install gamefic-sdk
gamefic init my_game
However, the second command returns this error:
Traceback (most recent call last):
11: from /home/groctel/.gem/ruby/2.7.0/bin/gamefic:23:in `<main>'
10: from /home/groctel/.gem/ruby/2.7.0/bin/gamefic:23:in `load'
9: from /home/groctel/.gem/ruby/2.7.0/gems/gamefic-1.7.0/bin/gamefic:9:in `<top (required)>'
8: from /home/groctel/.gem/ruby/2.7.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
7: from /home/groctel/.gem/ruby/2.7.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
6: from /home/groctel/.gem/ruby/2.7.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
5: from /home/groctel/.gem/ruby/2.7.0/gems/thor-0.20.3/lib/thor/command.rb:128:in `run'
4: from /home/groctel/.gem/ruby/2.7.0/gems/thor-0.20.3/lib/thor/command.rb:29:in `run'
3: from /home/groctel/.gem/ruby/2.7.0/gems/gamefic-1.7.0/lib/gamefic/shell.rb:49:in `method_missing'
2: from /home/groctel/.gem/ruby/2.7.0/gems/gamefic-1.7.0/lib/gamefic/shell.rb:49:in `raise'
1: from /home/groctel/.gem/ruby/2.7.0/gems/gamefic-1.7.0/lib/gamefic/shell.rb:49:in `exception'
/home/groctel/.gem/ruby/2.7.0/gems/thor-0.20.3/lib/thor/error.rb:50:in `initialize': wrong number of arguments (given 1, expected 3) (ArgumentError)
There's also no further documentation on this and the website doesn't have any docs whatsoever. What do I need to do in order to start a project and where can I find documentation on the engine?
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.