chg: dev: small changes on docs - and improve text on homepage #8
All checks were successful
Deploy to Production / deploy (push) Successful in 3m14s
All checks were successful
Deploy to Production / deploy (push) Successful in 3m14s
This commit is contained in:
@@ -187,7 +187,7 @@ export const GameProvider = ({ children }) => {
|
|||||||
syncBlue(p => ({ ...p, mines: 'blue' === player ? bp : p.mines }));
|
syncBlue(p => ({ ...p, mines: 'blue' === player ? bp : p.mines }));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update bonus points and stats
|
/** Update bonus points and stats */
|
||||||
syncRed(p => ({
|
syncRed(p => ({
|
||||||
...p,
|
...p,
|
||||||
bonusPoints: 'red' === player ? redBonusPoints : p.bonusPoints,
|
bonusPoints: 'red' === player ? redBonusPoints : p.bonusPoints,
|
||||||
@@ -254,20 +254,20 @@ export const GameProvider = ({ children }) => {
|
|||||||
return (
|
return (
|
||||||
<GameContext.Provider
|
<GameContext.Provider
|
||||||
value={{
|
value={{
|
||||||
// State (for rendering)
|
/** State (for rendering) */
|
||||||
webPlayer, activePlayer, overlay, overlayTitle, overlaySubTitle,
|
webPlayer, activePlayer, overlay, overlayTitle, overlaySubTitle,
|
||||||
mines, bombSelected, foundMines, red, blue, cells, gridReady, connectionLost, gameUuid,
|
mines, bombSelected, foundMines, red, blue, cells, gridReady, connectionLost, gameUuid,
|
||||||
// Setters needed by useServerComm
|
/** Setters needed by useServerComm */
|
||||||
setCells, setGridReady, setGameUuid,
|
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,
|
webPlayerRef, activePlayerRef, bombSelectedRef, connectionLostRef, lastClickedRef, endRef,
|
||||||
// Sync helpers
|
/** Sync helpers */
|
||||||
syncWebPlayer, syncActivePlayer, syncBombSelected, syncConnLost, syncRed, syncBlue,
|
syncWebPlayer, syncActivePlayer, syncBombSelected, syncConnLost, syncRed, syncBlue,
|
||||||
// Game logic called by useServerComm
|
/** Game logic called by useServerComm */
|
||||||
showOverlay, hideOverlay,
|
showOverlay, hideOverlay,
|
||||||
applyRevealedCell, applyStep,
|
applyRevealedCell, applyStep,
|
||||||
makeGameEndIfItEnds, resignProcess,
|
makeGameEndIfItEnds, resignProcess,
|
||||||
// UI action
|
/** UI action */
|
||||||
onBombToggle,
|
onBombToggle,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -74,7 +74,19 @@
|
|||||||
<li><strong>Draw</strong> — if neither player reaches the majority and scores end up equal, the match is recorded as a draw.</li>
|
<li><strong>Draw</strong> — if neither player reaches the majority and scores end up equal, the match is recorded as a draw.</li>
|
||||||
</ul>
|
</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> — Click a mine with no revealed numbered neighbors around it. No clues to help you!</li>
|
||||||
|
<li><strong>Chain Combo</strong> — Click consecutive mines without revealing a safe cell in between. Your longest streak is tracked.</li>
|
||||||
|
<li><strong>Edge Mine (+1 point)</strong> — Click a mine on the board boundary (top row, bottom row, left column, or right column).</li>
|
||||||
|
<li><strong>Endgame Mine (+3 points)</strong> — 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> — 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>
|
<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>
|
||||||
|
|
||||||
|
|||||||
@@ -152,7 +152,7 @@
|
|||||||
|
|
||||||
<p>If you have questions or concerns about these terms:</p>
|
<p>If you have questions or concerns about these terms:</p>
|
||||||
<ul>
|
<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>Website:</strong> <a href="https://www.mineseeker.hu">https://www.mineseeker.hu</a></li>
|
||||||
<li><strong>Location:</strong> Budapest, Hungary</li>
|
<li><strong>Location:</strong> Budapest, Hungary</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user