Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
austintgriffith committed Feb 25, 2024
1 parent 357a5a5 commit 5ae1940
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions packages/nextjs/components/dicedemo/Congrats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,15 @@ const Congrats = ({
)}
{!isWinner && isHacked && !game.winner && (
<p className="text-center">
Hidden characters found, {isSweeping ? "Trying to sweep private key ..." : sweepMessage}
Hidden characters found, {isSweeping ? "Trying to sweep private key..." : sweepMessage}
</p>
)}
{!isWinner && isHacked && game.winner != undefined && (
<p className="text-center">
Hidden characters found but you were beaten to sweeping the private key by another wallet
Hidden characters were discovered, but another wallet beat you to claiming the private key.{" "}
</p>
)}
{!isWinner && !isHacked && <div>Sorry fren, you lost</div>}

<p className="text-center mt-5 text-2xl">
The hidden characters are: {Object.values(game.hiddenChars).join(", ").toUpperCase()}
</p>
{!isWinner && !isHacked && <div>Someone else found the private key!</div>}
</div>
</div>
)}
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/pages/game/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ function GamePage() {
</div>
)}
{isAdmin && game.winner && <RestartWithNewPk isOpen={restartOpen} setIsOpen={setRestartOpen} />}
{!isAdmin && !isPlayer && <p className="text-center text-2xl">Sorry fren, You have been kicked</p>}
{!isAdmin && !isPlayer && <p className="text-center text-2xl">You have been kicked</p>}
</div>
</div>
);
Expand Down
Binary file added packages/nextjs/public/bg1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/bg2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/bg3.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/bg4.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5ae1940

Please sign in to comment.