From 3d720b55997dc64864c5977fdece2944be4654a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 3 Dec 2023 21:20:13 +0100 Subject: [PATCH] add website templates (not complete) --- templates/content.html | 137 +++++++++++++++++++++++++++++++++++++++++ templates/layout.html | 75 ++++++++++++++++++++++ 2 files changed, 212 insertions(+) create mode 100644 templates/content.html create mode 100644 templates/layout.html diff --git a/templates/content.html b/templates/content.html new file mode 100644 index 0000000..742a234 --- /dev/null +++ b/templates/content.html @@ -0,0 +1,137 @@ +{% extends "layout.html" %} +{% block content %} +
+
+
+ + + +
+ {% for category, data in leaders.items() %} +
+
+
{{ data.title }}
+

{{ data.leader.player_name_og }}

+

{{ data.leader.player_name }}

+

{{ data.leader.score }}

+
+
+ {% endfor %} +
+ + + + +
+ {% for category, leaderboard in leaderboards.items() %} +
+
+ +
+
+
+ + {% for player in leaderboard %} + + + + + {% endfor %} +
+
{{ player.player_name_og }}
+
{{ player.player_name }}
+
{{ player.score }}
+
+
+
+ {% endfor %} +
+
+
+ +
+
+ + + + + + + + + + + {% for variant in variants %} + + + + + + + {% endfor %} + +
VariantRatingGames PlayedMax Scores
{{ variant.variant_name }}{{ variant.variant_rating|int }}{{ variant.number_of_games_variant }}{{ variant.number_of_max_scores_variant }}
+
+
+ + + + + + +
+
+
+
+
+ +
+
+
+ +

About

+

The Hanabi Pro Hunting League creates a new way for folks to play more "serious" Hanabi, but without the stress, formality, and scheduling headaches of normal tournaments. For folks of all skill levels, the most important goal is simply to compete against yourself and to constantly learn and improve!

+ +

How to Play

+

Everyone is welcome to participate! To sign up, just click the link above to fill out the short Google Form. Just remember the following important info:

+
    +
  • Everyone joins individually, and can play with any mix of other participants.
  • +
  • League games must be played with a registered alt account.
  • +
  • ALL games played from this new account will be tracked each Season, so don’t forget to switch back when playing non-League games!
  • +
+

All game data will be automatically tracked & recorded, so all you need to do is play! Make sure to check out this page for important game & League info.

+ +

Game Rules

+
    +
  • 3-5 player games only
  • +
  • 5-6 suit games only, and only of the following variants (110 total!): +
      +
    • No Variant, the 9 non-dark ‘special suits’, and all combinations
    • +
    • All Clue Starved combinations
    • +
    +
  • +
  • Time or Untimed, but no alternate game modes or special rules (Bottom-Deck Blindplays, Empty Clues, Detrimental Chars, etc.)
  • +
+

Only games with which follow these game rules and which include exclusively registered players will be tracked!

+ +

Introducing the Hanabi League Rating system!

+

We’re excited to announce the new, experimental Hanabi League Rating (HLR) system! Adapted from Elo systems, the HLR basically works by estimating the expected outcome of each game. Each player will then gain or lose rating points based on how (un)likely the result was calculated to be.

+ +

These estimates are based on the teammates’ ratings, versus the chosen variant’s estimated difficulty (variants have ratings too!).

+
    +
  • The system counts Max Scores as Wins; any other result is simply a Loss.
  • +
  • For the veteran glory-seekers, there will also be Leaderboards tracking a few popular stats. For now, these include Rating, Longest Win Streak, and Scores Hunted.
  • +
  • A few other fun stats will be tracked as well, just for curiosity’s sake.
  • +
  • All the player ratings, leaderboards, and variant stats will be tracked & updated automatically on this website.
  • +
+
+
+
+{% endblock %} diff --git a/templates/layout.html b/templates/layout.html new file mode 100644 index 0000000..9a6d527 --- /dev/null +++ b/templates/layout.html @@ -0,0 +1,75 @@ + + + + + + Hanabi Pro Hunting League + + + + + + + {% block content %}{% endblock %} + + + + + + + + + + + + + + + +