Giter VIP home page Giter VIP logo

gamefic-sdk's People

Contributors

castwide avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

malachaifrazier

gamefic-sdk's Issues

Examples seem out of date for Gamefic 2.0

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.

Can't start a project

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.