-
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.
* initial work on sensor timeseries charts * refactor session cleanup * full caveman-mode css revamp to make homepage kinda resemble mockup - done * finish first version of sensor time series plotting. ugly but working * update constant for easier testing * improve performance of chart, get rid of warnings & update sampling rate - game ticks ratio * further calibration of game constants & some refactors for chart rerendering * final cleanup done * fix test * update workflow name * update workflow files --------- Co-authored-by: linomp <lm2p@hotmail.es>
- Loading branch information
Showing
38 changed files
with
529 additions
and
220 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,4 +1,4 @@ | ||
name: MVP Python Tests | ||
name: MVP Backend | ||
|
||
on: | ||
pull_request: | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
![image](./media/18_02_2024.PNG) | ||
![image](./media/10_03_2024.PNG) |
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.
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.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,12 +1,20 @@ | ||
<script lang="ts"> | ||
import { gameOverReason, gameSession } from "src/stores/stores"; | ||
import type { GameSessionWithTimeSeries } from "src/shared/types"; | ||
import { gameOver, gameOverReason, gameSession } from "src/stores/stores"; | ||
const gameSessionWithoutStateSnapshots = { | ||
...$gameSession, | ||
machineStateSnapshots: undefined, | ||
}; | ||
const formatSessionData = (session: GameSessionWithTimeSeries | null) => | ||
JSON.stringify( | ||
{ | ||
...session, | ||
formattedTimeSeries: undefined, | ||
}, | ||
null, | ||
2, | ||
); | ||
</script> | ||
|
||
<h3>Game Over</h3> | ||
<pre>{JSON.stringify(gameSessionWithoutStateSnapshots, null, 2)}</pre> | ||
<p>{$gameOverReason}</p> | ||
{#if $gameOver} | ||
<h3>Game Over</h3> | ||
<pre>{formatSessionData($gameSession)}</pre> | ||
<p>{$gameOverReason}</p> | ||
{/if} |
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
Oops, something went wrong.