mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 11:42:07 +00:00
Rate users and endgames with Glicko (#40)
This commit is contained in:
@@ -17,8 +17,8 @@ defmodule Chesstrainer.Endgames.Endgame do
|
||||
field :message, :string
|
||||
field :notes, :string
|
||||
field :result, Ecto.Enum, values: [:win, :loss, :draw]
|
||||
field :rating, :integer, default: 1500
|
||||
field :rating_deviation, :integer
|
||||
field :rating, :float, default: 1500.0
|
||||
field :rating_deviation, :float, default: 350.0
|
||||
field :times_attempted, :integer
|
||||
field :times_solved, :integer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user