ptrgags / barter Goto Github PK
View Code? Open in Web Editor NEWText-based game (2014, 2016)
Home Page: http://ptrgags.github.io/barter
License: GNU General Public License v2.0
Text-based game (2014, 2016)
Home Page: http://ptrgags.github.io/barter
License: GNU General Public License v2.0
On the Barter Web page, there should be an option to select a story from a list. Once I create a story, the user should be able to select between the tutorial and the the story at the very least.
A dropdown at the top of the page would be helpful
Add Travis CI support.
When exiting the program, write to a file (@story_dir/.save.json
).
When beginning the program, look for that file. if it exists, read the data from that file instead of starting from scratch.
It would be nice to have more content. Add another story in the future.
Fix the Codacy Ruby style/error prone issues before we merge into master.
It would be nice to add some color to Barter Story Creator. maybe with the colorize
gem.
It would be nice if items had sprites associated with them
It would be nice to have a Hidden attribute on options that have a non-empty give_items
list. This way, the option will not appear until the user has the required items.
This requires a change in both the frontend and Story Creator.
Add Code climate.
Highlight table rows to show new items in the inventory.
While the code for Barter Story Creator works, it's rather messy to look at. Here are some things to refactor:
StoryGraph
class that manages the story data and a StoryCreator
class that handles theMove data from data.js to Dropbox as a JSON file. Fetch the data from there.
I need to handle Ctrl + C in the REPL to make it equivalent to quit
or bye
Add codacy analysis. I want to see how it handles Javascript
Add an item type called a "requirement". This is a type of item that represents fulfilling a requirement. This will be helpful for making options that are only available after completing a requirement.
Usually this item type should be hidden from the user, but the hidden attribute will handle this.
Now that we have GraphViz diagrams, it would be nice to make them look nicer and have more meaning.
I implemented tab completion with the GNU readline
library, but I do not do this in the subcommands.
Add tab completion for the following things
Whoops, forgot to use HTTPs in the CDN URLs. Fix this soon!
The game logic is currently strewn all over the place. Create a new Barter class to manage it.
Add a Gemfile to list dependencies.
I want to write my own story for Barter that actually makes use of the bartering mechanic.
When I was editing the Add Items command, I must have called the wrong function for the help command. The items displayed should be the list of all available items, not the current items for this option.
Add commands to the Story Creator REPL to create and edit situation vertex data.
Situation.rb
Make a gh-pages branch to host Barter here
I never make favicons. I want a favicon.
Once Version 0.2 is finished, update ptrgags.github.io.
We need the following classes:
It would be nice to use Graphviz to visualize story graphs.
Plain HTML buttons are ugly. Use Bootstrap please.
In the Readme, link to the Codacy badge.
The page has no title! oh noes! Fix it!
Use CoffeeScript to make the code a little nicer.
Tables overflow the parent panel on mobile. Fix this.
Do the following
Once a spec is made (see #14), implement it in whatever is the chosen language.
Add Codecov once we have unit tests.
Try the Readline library for tab completion of commands.
I listed all the commands for Barter Story Creator, but it would nice to have an example usage for overall story-writing workflow.
I don't currently create the back links in Story Creator. I should do this.
Create a story file that represents the overall plot of the future story.
Right now, clicking an option that requires items removes the item from the inventory. This works for one-time options, but repeatable options cannot be selected again since the items are discarded.
Find a way to avoid this problem. Either don't remove items from the inventory or modify the option the first time it's clicked.
I have the basic commands, but I need to allow existing items to be edited without needing to overwrite them
I tried to show a friend the website for Barter yesterday. I was getting no story data displayed. I'm guessing it's a problem with ES 6 features that are not supported, but I need to learn how to debug iOS devices on Windows.
Right now, Story Creator mentions when situation files are created, but it does not mention when an existing file is used. Make this more consistent.
Find places where new features like Promise
s will come in handy and refactor.
Forgot to add the set_start_items command
Codacy doesn't like my Python-based code style. I'll need to fix this soon and reconfigure Codacy settings.
Allow an option to prune situations from the graph when there are no non-back options left.
Update the README
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.