Elovation
===========================
[![Build Status](https://travis-ci.org/elovation/elovation.png?branch=master)](https://travis-ci.org/elovation/elovation)
[![Code Climate](https://codeclimate.com/github/elovation/elovation/badges/gpa.svg)](https://codeclimate.com/github/elovation/elovation)
At Braintree, we play ping pong in the office. We wanted a way to track results and assign ratings to players. Elovation was born. It's a simple rails app that tracks the results of any two player game and assigns ratings to the players using the [Elo rating system](http://en.wikipedia.org/wiki/Elo_rating_system).
This also supports individual player rankings within multi-player teams, using the [Trueskill ranking system](http://research.microsoft.com/en-us/projects/trueskill/)
Quick Start with Heroku
---------------------------
The fastest way to get started with Elovation is to click the deploy to [Heroku](http://www.heroku.com) button below. Elovation can be run on the free tier, so all you will require is a Heroku account to get started with no running costs.
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/elovation/elovation)
If you would like to add a level of authentication security to your app on Heroku, on the setup screen set the "BASIC_AUTH" to "true", and set a username and password in their respective fields. When you try to access your app in future, you will be prompted for your credentials.
You can set the branding on Elovation by defining the "ELOVATION_TITLE" variable in Heroku with your desired name.
The click to deploy button will automatically migrate your database.
Game Options
------------
There are two types of "Games" that Elovation allows for: [Trueskill](https://en.wikipedia.org/wiki/TrueSkill) & [Elo](https://en.wikipedia.org/wiki/Elo_rating_system)
#### Trueskill
Trueskill allows for teams of multiple players, to play other teams - yet still calculate each individual player's ranking.
When creating a new game you may set the maximum numbers of teams in a result, and the maximum number of players per team in a result. You can record a result in any combination up to the maximum.
The default is set to 2 players per team, and 2 teams per result (like playing a game of doubles Table Tennis / Foosball). The minimum allowed players per team is 1, and the minimum allowed teams per result is 2.
If you increase the allowed number of teams per result, this will allow scenarios where a team can defeat multiple other teams in a single match at the same time. A possible example of this is a Paint Ball / Nerf War with multiple teams that is "last team standing" - All other teams are the losers and the remaining team is the winner.
Suitable for:
- Table Tennis
- Foosball
- Paint Ball / Nerf Wars
#### Elo
Elo is a simpler method devised for Player versus player games only and does not support teams. It also increments and decrements by a set value which makes a win/loss amount more predictable.
Suitable for:
- Chess
- Table Tennis
- Foosball
Caution
-------
If you intend to use this software commercially, you must remove the Trueskill implementation as it is patented by Microsoft.
没有合适的资源?快使用搜索试试~ 我知道了~
简单的 Rails 应用程序可通过 elo 和 trueskill 评级 跟踪您的游戏结果_rust_代码_下载
共142个文件
rb:72个
erb:17个
gitkeep:6个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 154 浏览量
2022-06-24
17:22:04
上传
评论
收藏 95KB ZIP 举报
温馨提示
我们在办公室打乒乓球。我们想要一种方法来跟踪结果并为玩家分配评分。爱恋诞生了。这是一个简单的 Rails 应用程序,可以跟踪任何两人游戏的结果,并使用Elo 评级系统为玩家分配评级。 这也支持多人团队中的个人玩家排名,使用Trueskill 排名系统 Heroku 快速入门 开始使用 Elovation 的最快方法是单击下面的部署到Heroku按钮。Elovation 可以在免费层上运行,因此您只需要一个 Heroku 帐户即可开始使用,无需任何运行成本。
资源推荐
资源详情
资源评论
收起资源包目录
简单的 Rails 应用程序可通过 elo 和 trueskill 评级 跟踪您的游戏结果_rust_代码_下载
(142个子文件)
bundle 129B
game-new.coffee 478B
chosen.min.css 10KB
database.yml.docker 317B
Dockerfile-db 90B
Dockerfile-web 980B
.dockerignore 168B
show.html.erb 3KB
show.html.erb 2KB
_form.html.erb 2KB
show.html.erb 1KB
application.html.erb 1KB
show.html.erb 858B
new.html.erb 854B
_result.html.erb 833B
_form.html.erb 785B
index.html.erb 556B
_rating.html.erb 454B
_results.html.erb 118B
_rating.html.erb 103B
new.html.erb 21B
edit.html.erb 21B
new.html.erb 21B
edit.html.erb 21B
database.yml.example 402B
Gemfile 947B
.gitignore 544B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
404.html 728B
422.html 711B
500.html 643B
favicon.ico 0B
chosen.min.js 26KB
application.js 664B
app.json 1KB
Gemfile.lock 6KB
README.md 3KB
favicon.png 1KB
chosen-sprite@2x.png 872B
chosen-sprite.png 646B
Procfile 57B
rails 295B
rails 141B
repair.rake 613B
db.rake 191B
rake 90B
Rakefile 358B
rater_spec.rb 12KB
result_spec.rb 10KB
game_spec.rb 10KB
player_spec.rb 8KB
result_service_spec.rb 6KB
games_controller_spec.rb 5KB
rating_spec.rb 4KB
production.rb 4KB
rater.rb 3KB
players_controller_spec.rb 3KB
results_controller_spec.rb 3KB
schema.rb 3KB
games_controller.rb 2KB
game.rb 2KB
puma.rb 2KB
result.rb 2KB
development.rb 2KB
test.rb 2KB
player.rb 2KB
006_release_006.rb 2KB
result_service.rb 1KB
production_admin.rb 1002B
rating.rb 989B
seeds.rb 895B
application_helper_spec.rb 882B
sanity_spec.rb 861B
001_release_001.rb 793B
application.rb 780B
players_controller.rb 740B
spec_helper.rb 672B
inflections.rb 647B
rating_history_event_spec.rb 634B
assets.rb 630B
results_controller.rb 629B
new_framework_defaults_5_1.rb 592B
unicorn.rb 583B
secret_token.rb 500B
wrap_parameters.rb 485B
player_games_controller_spec.rb 428B
application_helper.rb 423B
game_factory.rb 405B
backtrace_silencers.rb 404B
004_release_004.rb 393B
results_helper_spec.rb 387B
007_release_007.rb 386B
ratings_controller_spec.rb 381B
player_games_controller.rb 359B
dashboard_controller_spec.rb 341B
共 142 条
- 1
- 2
资源评论
快撑死的鱼
- 粉丝: 2w+
- 资源: 9148
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Cisco Packet Tracer实用技巧及网络配置指南
- 国际象棋棋子检测8-YOLO(v5至v11)、COCO、CreateML、Paligemma、TFRecord、VOC数据集合集.rar
- jQuery信息提示插件
- 电动蝶阀远程自动化控制系统的构建与应用
- 基于python和协同过滤算法的电影推荐系统
- Hadoop复习资料题库.zip
- 国际象棋棋子检测3-YOLO(v5至v9)、COCO、CreateML、Darknet、Paligemma、TFRecord数据集合集.rar
- Python毕业设计基于知识图谱的电影推荐系统源码(完整项目代码)
- 基于C++的简易图书管理系统(含exe可执行文件)
- 使用python爬取数据并采用Django搭建系统的前后台,使用Spark进行数据处理并进行电影推荐项目源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功