没有合适的资源?快使用搜索试试~ 我知道了~
flaming-computing-machine:从Sinatra构建的“选择自己的冒险” Web应用程序!
共84个文件
rb:15个
erb:13个
js:10个
需积分: 5 0 下载量 62 浏览量
2021-05-07
13:57:50
上传
评论
收藏 410KB ZIP 举报
温馨提示
## A选择您自己的从Sinatra构建的Adventure Web App! 随意使用此代码进行派生,修改或执行任何您想做的事情。 StoryPath是一个Web应用程序,使人们可以共同编写故事。 它主要关注随机互联网的荒谬性质。 我们决定拥抱这一点! ###入门 bundle install rake db:drop , rake db:create , rake db:migrate ###数据 ####楷模 用户是指可以登录,创建故事或将场景添加到其他人的故事的人。 故事是故事的切入点。 它指向其第一个场景,并具有保存整个场景集合的标签的功能。 场景是故事的单一片段。 它包含一个说明和两个选择。 每个选择都会导致另一个场景。 这提供了使所有这些成为可能的递归关系。 ####关系 用户有很多故事 故事属于一个用户 故事有很多场景 一个场景属于一个故事 ####已计划但
资源推荐
资源详情
资源评论
收起资源包目录
flaming-computing-machine-master.zip (84个子文件)
flaming-computing-machine-master
.DS_Store 6KB
public
.DS_Store 6KB
images
.DS_Store 6KB
pencil.png 20KB
guestbook.png 15KB
gplaypattern.png 34KB
news.png 11KB
documents_2_512px.png 10KB
brickwall.png 10KB
no_profile.jpg 8KB
favicon-16x16.png 1KB
congruent_pentagon.png 28KB
stylesheets
normalize.css 7KB
.DS_Store 6KB
bootstrap.min.css 115KB
application.css 0B
bootstrap-theme.min.css 19KB
bootstrap-theme.css 22KB
bootstrap.css 138KB
stylesheet.css 3KB
fonts
glyphicons-halflings-regular.ttf 44KB
glyphicons-halflings-regular.woff2 18KB
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regular.svg 106KB
glyphicons-halflings-regular.woff 23KB
javascript
application.js 111B
.DS_Store 6KB
jquery-1.6.1.min.js 89KB
npm.js 484B
bootstrap.js 66KB
.keep 0B
bower_components
readmore
readmore.js 8KB
bower.json 535B
gulpfile.js 333B
.bower.json 816B
README.md 5KB
jquery.mockjax.js 22KB
ajax-demo.html 28KB
demo.html 13KB
CHANGELOG.md 2KB
readmore.min.js 4KB
package.json 795B
bootstrap.min.js 35KB
init.js 871B
config.ru 145B
db
.DS_Store 6KB
migrate
20150521210317_create_suggestions_table.rb 187B
20150521183010_create_scenes_table.rb 399B
20150521182307_create_users_table.rb 198B
20150521182955_create_stories_table.rb 198B
lib
story_importer.rb 804B
user_importer.rb 786B
scene_importer.rb 826B
Gemfile 526B
Rakefile 2KB
config
database.rb 582B
environment.rb 781B
README.md 1KB
data
stories.csv 41B
users.csv 110B
scenes.csv 295B
Gemfile.lock 2KB
.gitignore 29B
app
.DS_Store~HEAD 6KB
get_trends.rb 340B
.DS_Store 6KB
views
users
new.erb 1KB
index.erb 0B
show.erb 398B
stories
scene.erb 658B
new.erb 2KB
index.erb 2KB
scenes
new.erb 2KB
show.erb 2KB
show.erb 2KB
signup.erb 696B
login.erb 914B
index.erb 2KB
layout.erb 3KB
models
suggestion.rb 88B
story.rb 76B
user.rb 144B
scene.rb 340B
actions.rb 4KB
共 84 条
- 1
资源评论
格秒索杉
- 粉丝: 27
- 资源: 4563
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功