Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ido-Barnea committed Apr 20, 2024
1 parent 0ba9e4c commit 112034b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 5 additions & 3 deletions core/development/ui/Screen.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { game } from '../Game';
import { Player } from '../logic/players/Player';

const roundInformation = document.getElementById('info-container-round-information');
const roundInformation = document.getElementById(
'info-container-round-information',
);
const playersElement = document.getElementById('info-container-players');

const unicornAttackButton = document.getElementById('unicorn-attack');
Expand All @@ -24,7 +26,7 @@ function createMoveElement(): HTMLElement {
moveElement.innerHTML = `Move: ${move}`;

moveElement.style.textAlign = 'center';

return moveElement;
}

Expand All @@ -38,7 +40,7 @@ function renderRoundInformationElement() {
const moveElement = createMoveElement();

moveElement.style.color = 'var(--gray-color)';

roundInformation.appendChild(roundElement);
roundInformation.appendChild(moveElement);
}
Expand Down
5 changes: 4 additions & 1 deletion core/views/room.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
<input type="checkbox" id="shop-upgrade-swapper" />
<p>Tree</p>
</div>
<div id="piece-upgrades-container" class="collapsed center-horizontally"></div>
<div
id="piece-upgrades-container"
class="collapsed center-horizontally"
></div>
<div id="shop-container" class="center-horizontally"></div>
<div id="inventory-container" class="center-horizontally"></div>
</div>
Expand Down

0 comments on commit 112034b

Please sign in to comment.