Private
Public Access
1
0

chg: dev: small changes on docs - and improve text on homepage #8
All checks were successful
Deploy to Production / deploy (push) Successful in 3m14s

This commit is contained in:
2026-04-21 11:47:21 +02:00
parent 3bbfb8740f
commit 13adf908bf
3 changed files with 21 additions and 9 deletions

View File

@@ -187,7 +187,7 @@ export const GameProvider = ({ children }) => {
syncBlue(p => ({ ...p, mines: 'blue' === player ? bp : p.mines }));
}
// Update bonus points and stats
/** Update bonus points and stats */
syncRed(p => ({
...p,
bonusPoints: 'red' === player ? redBonusPoints : p.bonusPoints,
@@ -254,20 +254,20 @@ export const GameProvider = ({ children }) => {
return (
<GameContext.Provider
value={{
// State (for rendering)
/** State (for rendering) */
webPlayer, activePlayer, overlay, overlayTitle, overlaySubTitle,
mines, bombSelected, foundMines, red, blue, cells, gridReady, connectionLost, gameUuid,
// Setters needed by useServerComm
/** Setters needed by useServerComm */
setCells, setGridReady, setGameUuid,
// Refs (needed by useServerComm for async-safe reads)
/** Refs (needed by useServerComm for async-safe reads) */
webPlayerRef, activePlayerRef, bombSelectedRef, connectionLostRef, lastClickedRef, endRef,
// Sync helpers
/** Sync helpers */
syncWebPlayer, syncActivePlayer, syncBombSelected, syncConnLost, syncRed, syncBlue,
// Game logic called by useServerComm
/** Game logic called by useServerComm */
showOverlay, hideOverlay,
applyRevealedCell, applyStep,
makeGameEndIfItEnds, resignProcess,
// UI action
/** UI action */
onBombToggle,
}}
>

View File

@@ -74,7 +74,19 @@
<li><strong>Draw</strong> &mdash; if neither player reaches the majority and scores end up equal, the match is recorded as a draw.</li>
</ul>
<h3>7. Playing as a Guest</h3>
<h3>7. Bonus Points</h3>
<p>In addition to scoring points by claiming mines, MineSeeker rewards skilled play with <strong>bonus points</strong>. These are tracked separately from your main score and displayed in the Bonus Statistics dialog after each match.</p>
<ul>
<li><strong>Blind Hit (+2 points)</strong> &mdash; Click a mine with no revealed numbered neighbors around it. No clues to help you!</li>
<li><strong>Chain Combo</strong> &mdash; Click consecutive mines without revealing a safe cell in between. Your longest streak is tracked.</li>
<li><strong>Edge Mine (+1 point)</strong> &mdash; Click a mine on the board boundary (top row, bottom row, left column, or right column).</li>
<li><strong>Endgame Mine (+3 points)</strong> &mdash; Click a mine when 10 or fewer mines remain on the board. High risk, high reward.</li>
<li><strong>Safe Cell Bonus (+0.5 points per cell)</strong> &mdash; Reveal 2 or more safe cells in a single click. Larger area sweeps earn more points.</li>
</ul>
<h3>8. Playing as a Guest</h3>
<p>No account is required to play. Just open the game, share the match link with a friend, and play. Guest matches are not saved to a history and carry no stats.</p>

View File

@@ -152,7 +152,7 @@
<p>If you have questions or concerns about these terms:</p>
<ul>
<li><strong>Email:</strong> <a href="mailto:contact@mineseeker.hu">contact@mineseeker.hu</a></li>
<li><strong>Email:</strong> <a href="mailto:info@splendidbear.org">info@splendidbear.org</a></li>
<li><strong>Website:</strong> <a href="https://www.mineseeker.hu">https://www.mineseeker.hu</a></li>
<li><strong>Location:</strong> Budapest, Hungary</li>
</ul>