added stage display

This commit is contained in:
MasterGordon 2024-10-11 01:10:50 +02:00
parent d035775a54
commit a2d2cf1710
1 changed files with 3 additions and 1 deletions

View File

@ -144,8 +144,10 @@ const Board: React.FC<BoardProps> = (props) => {
</Button>
</div>
{zenMode && (
<div className="absolute top-4 left-4 w-full h-full text-white/70 font-mono text-lg">
<div className="absolute top-4 left-4 w-full h-full text-white/70 font-mono text-lg flex">
{game.minesCount - game.isFlagged.flat().filter((f) => f).length}
{" | "}
Stage {game.stage}
</div>
)}
</div>