Game: landscape-first table with rotate-phone prompt + orientation lock
Hokm plays best wide (UNO-style). On phones held in portrait, the game screen
shows a "rotate your phone" overlay (with a play-anyway escape hatch so OS
rotation-lock can't trap anyone). Best-effort screen.orientation.lock('landscape')
on Android/PWA; iOS/desktop reject it harmlessly. i18n rotate.* (fa+en).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -327,6 +327,9 @@ const fa: Dict = {
|
||||
"settings.audio": "تنظیمات صدا",
|
||||
"settings.sound": "افکت صدا",
|
||||
"settings.music": "موسیقی پسزمینه",
|
||||
"rotate.title": "گوشی را بچرخانید",
|
||||
"rotate.desc": "برای تجربهٔ بهترِ میز بازی، گوشی را افقی (چرخانده) نگه دارید.",
|
||||
"rotate.anyway": "همینطور عمودی بازی میکنم",
|
||||
"settings.musicStyle": "سبک موسیقی",
|
||||
"settings.trackSantoor": "سنتی (سنتور)",
|
||||
"settings.trackPlayful": "شاد",
|
||||
@@ -663,6 +666,9 @@ const en: Dict = {
|
||||
"settings.audio": "Audio",
|
||||
"settings.sound": "Sound effects",
|
||||
"settings.music": "Background music",
|
||||
"rotate.title": "Rotate your phone",
|
||||
"rotate.desc": "The table plays best in landscape — turn your phone sideways for the full experience.",
|
||||
"rotate.anyway": "Keep playing in portrait",
|
||||
"settings.musicStyle": "Music style",
|
||||
"settings.trackSantoor": "Traditional (Santoor)",
|
||||
"settings.trackPlayful": "Playful",
|
||||
|
||||
Reference in New Issue
Block a user