Merge branch 'main' of github.com:jcalixte/tps into main

This commit is contained in:
Julien Calixte
2023-07-29 21:04:32 +02:00
5 changed files with 28 additions and 6 deletions

View File

@@ -116,7 +116,7 @@ const isLive = computed(
background-color: var(--primary-color);
padding: 0.35rem;
text-align: center;
color: white;
color: var(--color);
}
li {

View File

@@ -226,11 +226,13 @@ export const nextDay = (
strategy: Strategy | 'problem-solving'
): FeatureState => {
state.meta.totalDays++
// each day, the teams know how to better work together
state.meta.teamWorkExperience += 0.01
if (strategy === 'problem-solving') {
const hasTeamLearned = Math.random() > 0.25
if (hasTeamLearned) {
state.meta.teamWorkExperience++
state.meta.teamWorkExperience += 1.2
}
} else {
state.meta.strategy[strategy]++

View File

@@ -18,7 +18,7 @@ const strategies: Strategy[] = ['push', 'pull', 'push-dps', 'pull-dps']
<table>
<thead>
<tr>
<th>#</th>
<th></th>
<th class="numeric">push</th>
<th class="numeric">pull</th>
<th class="numeric">push and DPS</th>