Rate users and endgames with Glicko (#40)

This commit is contained in:
2026-11-03 22:04:51 +01:00
parent a3fb878383
commit 4a36ffd2e6
12 changed files with 228 additions and 16 deletions
+2 -2
View File
@@ -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