Merge branch 'main' of github.com:jcalixte/tps into main
This commit is contained in:
@@ -116,7 +116,7 @@ const isLive = computed(
|
||||
background-color: var(--primary-color);
|
||||
padding: 0.35rem;
|
||||
text-align: center;
|
||||
color: white;
|
||||
color: var(--color);
|
||||
}
|
||||
|
||||
li {
|
||||
|
||||
@@ -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]++
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user