-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
layout improvements & parameter tweaks
- Loading branch information
Showing
8 changed files
with
96 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
# The Predictive Maintenance Game | ||
|
||
![immagine](https://github.com/linomp/pdm-game/assets/40581019/fe7fbee0-bf31-487b-a727-f34472d94840) | ||
|
||
![immagine](./mvp/media/13_07_2024_trim.PNG) | ||
|
||
- **_Your mission_**: maximize profit & machine lifespan. | ||
- **_Your tools_**: data, intuition & nerve! | ||
- **_Your opponents_**: machine degradation & limited funds! | ||
|
||
|
||
### **_Will you accept the challenge?_** | ||
|
||
https://app.pdmgame.xmp.systems/ | ||
|
||
--- | ||
|
||
### Dev roadmap | ||
|
||
- [X] Basic UI | ||
- [X] Basic machine degradation model | ||
- [X] Sensor & prediction model purchase | ||
- [X] Live machine parameters visualization | ||
- [X] Leaderboard | ||
- [X] Basic RUL prediction model | ||
- [ ] In-game events (e.g. production peak, score multipliers) | ||
- [X] In-game events (e.g. production peak, score multipliers) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<script lang="ts"> | ||
export let messages: Record<string, { type: string; content: string }>; | ||
</script> | ||
|
||
<div class="user-messages"> | ||
{#each Object.entries(messages) as [key, message]} | ||
<div class="message-card {message.type}"> | ||
<span>{message.content}</span> | ||
</div> | ||
{/each} | ||
</div> | ||
|
||
<style> | ||
.user-messages { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
align-items: center; | ||
width: 80%; | ||
} | ||
.message-card { | ||
border-radius: 8px; | ||
padding: 1em; | ||
width: 100%; | ||
text-align: center; | ||
border: 1px solid #ccc; | ||
transition: opacity 0.3s; | ||
font-size: smaller; | ||
} | ||
.message-card.WARNING { | ||
background-color: #ffffe0; | ||
color: #000000; | ||
} | ||
.message-card.INFO { | ||
background-color: rgba(129, 248, 94, 0.86); | ||
color: #000000; | ||
} | ||
</style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters