Merge branch 'main' of github.com:jcalixte/tps into main
This commit is contained in:
22
.vscode/settings.json
vendored
22
.vscode/settings.json
vendored
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ ul {
|
|||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
border: 3px solid var(--primary-color);
|
border: 3px solid var(--primary-color);
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
background-color: white;
|
background-color: var(--color);
|
||||||
min-height: var(--feature-item-height);
|
min-height: var(--feature-item-height);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -48,7 +48,7 @@ ul {
|
|||||||
|
|
||||||
.blue-bin {
|
.blue-bin {
|
||||||
background-color: var(--primary-color);
|
background-color: var(--primary-color);
|
||||||
color: white;
|
color: var(--color);
|
||||||
font-size: 18pt;
|
font-size: 18pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ const isLive = computed(
|
|||||||
background-color: var(--primary-color);
|
background-color: var(--primary-color);
|
||||||
padding: 0.35rem;
|
padding: 0.35rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: white;
|
color: var(--color);
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
|
|||||||
@@ -226,11 +226,13 @@ export const nextDay = (
|
|||||||
strategy: Strategy | 'problem-solving'
|
strategy: Strategy | 'problem-solving'
|
||||||
): FeatureState => {
|
): FeatureState => {
|
||||||
state.meta.totalDays++
|
state.meta.totalDays++
|
||||||
|
// each day, the teams know how to better work together
|
||||||
|
state.meta.teamWorkExperience += 0.01
|
||||||
|
|
||||||
if (strategy === 'problem-solving') {
|
if (strategy === 'problem-solving') {
|
||||||
const hasTeamLearned = Math.random() > 0.25
|
const hasTeamLearned = Math.random() > 0.25
|
||||||
if (hasTeamLearned) {
|
if (hasTeamLearned) {
|
||||||
state.meta.teamWorkExperience++
|
state.meta.teamWorkExperience += 1.2
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
state.meta.strategy[strategy]++
|
state.meta.strategy[strategy]++
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ const strategies: Strategy[] = ['push', 'pull', 'push-dps', 'pull-dps']
|
|||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>#</th>
|
<th></th>
|
||||||
<th class="numeric">push</th>
|
<th class="numeric">push</th>
|
||||||
<th class="numeric">pull</th>
|
<th class="numeric">pull</th>
|
||||||
<th class="numeric">push and DPS</th>
|
<th class="numeric">push and DPS</th>
|
||||||
|
|||||||
Reference in New Issue
Block a user