Skip to content

Commit

Permalink
increase market day rate
Browse files Browse the repository at this point in the history
  • Loading branch information
merklejerk committed Jun 18, 2024
1 parent c443bcb commit c9f0f85
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions src/lib/components/contest-progress.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
...t,
time: new Date(t.time),
})) as TournamentResult[];
tourneys.sort((a, b) => b.time.getTime() - a.time.getTime());
return tourneys.reduce(
(a, t) => Object.assign(a,
{ [t.season]: [ ...(a[t.season] ?? []), t], },
Expand Down Expand Up @@ -170,13 +171,16 @@
</h3>
<div class="tournaments">
{#if tournamentsBySeason[szn.idx]?.length}
{#each tournamentsBySeason[szn.idx]
.slice(0, maxTournamentsToDisplay)
.sort((a, b) => cmpDate(b.time, a.time)) as t, j (j)}
{#each tournamentsBySeason[szn.idx].slice(0, maxTournamentsToDisplay)
as t, j (j)}
<div class="entry">
<h3>
<a href={`${base}/tournament?season=${szn.idx + 1}&id=${t.id}&idx=${tournamentsBySeason[szn.idx].length - j}`}>
{#if t.type == 'scrimmage'} Market Day{:else}Grand Faire{/if}
{#if t.type == 'scrimmage'}
Market Day
{:else}
Grand Faire
{/if}
</a>
</h3>
<div class="field">
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(app)/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
The contest will run approximately over a period of 15 days, with every 5 days marking a "Season." Seasons are made up of quick, daily tournaments and one final and conclusive tournament on the last day. Tournaments pit all players in the season against each other to produce an overall ranking.
</p>
<p>
On every day but the last of a season, "Market Day" tournaments will be held every 3 hours. These tournaments award no prizes but are important to partake in because they give players a sense of how well their contract performs against others and creates an opportunity to discover and experiment with meta-strategies.
On every day but the last of a season, "Market Day" tournaments will be held every 2 hours. These tournaments award no prizes but are important to partake in because they give players a sense of how well their contract performs against others and creates an opportunity to discover and experiment with meta-strategies.
</p>
<p>
On the last day of the season, a single "Grand Faire" tournament is held. The Grand Faire DOES award prizes (in ETH) to the winner, and will also consist of more matches for certainty. The Grand Faire prize increases with each successive season, as players naturally become more sophisticated with time.
Expand Down

0 comments on commit c9f0f85

Please sign in to comment.