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

22
.vscode/settings.json vendored
View File

@@ -1,3 +1,23 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib",
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#0037c5",
"activityBar.background": "#0037c5",
"activityBar.foreground": "#e7e7e7",
"activityBar.inactiveForeground": "#e7e7e799",
"activityBarBadge.background": "#200009",
"activityBarBadge.foreground": "#e7e7e7",
"commandCenter.border": "#e7e7e799",
"sash.hoverBorder": "#0037c5",
"statusBar.background": "#002992",
"statusBar.foreground": "#e7e7e7",
"statusBarItem.hoverBackground": "#0037c5",
"statusBarItem.remoteBackground": "#002992",
"statusBarItem.remoteForeground": "#e7e7e7",
"titleBar.activeBackground": "#002992",
"titleBar.activeForeground": "#e7e7e7",
"titleBar.inactiveBackground": "#00299299",
"titleBar.inactiveForeground": "#e7e7e799"
},
"peacock.color": "#002992"
}

View File

@@ -33,7 +33,7 @@ ul {
margin-top: 1rem;
border: 3px solid var(--primary-color);
color: var(--primary-color);
background-color: white;
background-color: var(--color);
min-height: var(--feature-item-height);
display: flex;
flex-direction: column;
@@ -48,7 +48,7 @@ ul {
.blue-bin {
background-color: var(--primary-color);
color: white;
color: var(--color);
font-size: 18pt;
}

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>