Skip to content

Commit

Permalink
feat(layout): new layout das_trainer_1080
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeg committed Aug 24, 2024
1 parent 2be82a0 commit 088821d
Show file tree
Hide file tree
Showing 9 changed files with 1,087 additions and 118 deletions.
12 changes: 11 additions & 1 deletion public/views/1p/classic.html
Original file line number Diff line number Diff line change
Expand Up @@ -470,11 +470,21 @@
<!-- End Stream BG -->

<script>
const PREVIEW_PIXEL_SIZE = 3;
const BOARD_PIXEL_SIZE = 3;
const DOT_SIZE_TRT = 4;
const DOT_SIZE_PIECE_DISTRIBUTION = 4;
const BAR_WIDTH_DROUGHT_GAUGE = 2;
const BAR_WIDTH_INSTANT_DAS = 3;
const DOT_SIZE_DAS_N_BOARD = 4;
const BOARD_HEIGHT_BLOCK_HEIGHT = 2;
const BOARD_HEIGHT_STAT_BARS_GAP = 1;
const NUM_HIGH_SCORES = 10;

const view_meta = new URLSearchParams({
video: '320x240',
});
</script>
<script src="/vendor/peerjs.1.5.4.min.js"></script>
<script type="module" src="/views/main.js"></script>
</body>
</html>
12 changes: 11 additions & 1 deletion public/views/1p/das_trainer.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,11 +410,21 @@
<!-- End Stream BG -->

<script>
const PREVIEW_PIXEL_SIZE = 3;
const BOARD_PIXEL_SIZE = 3;
const DOT_SIZE_TRT = 4;
const DOT_SIZE_PIECE_DISTRIBUTION = 4;
const BAR_WIDTH_DROUGHT_GAUGE = 2;
const BAR_WIDTH_INSTANT_DAS = 3;
const DOT_SIZE_DAS_N_BOARD = 4;
const BOARD_HEIGHT_BLOCK_HEIGHT = 2;
const BOARD_HEIGHT_STAT_BARS_GAP = 1;
const NUM_HIGH_SCORES = 10;

const view_meta = new URLSearchParams({
video: '320x240',
});
</script>
<script src="/vendor/peerjs.1.5.4.min.js"></script>
<script type="module" src="/views/main.js"></script>
</body>
</html>
Loading

0 comments on commit 088821d

Please sign in to comment.