Conversation
Add a shared Arena screen for web, desktop, mobile and Telegram, with browser-side Cyberia signing and encrypted commit-reveal secrets. Expose only public deployment coordinates, add a safe production deploy command, and link the Telegram bot directly to the game.
Add a responsive Cyberia-native catalogue and RPS product page with about, play, updates and local prototype feedback surfaces. Localize the complete Arena experience in English, Russian and Simplified Chinese, keep the Arena rail item active, and simplify the wallet header.
Resolve the Telegram dispatcher overlap by keeping the maintainer's app.py unchanged. This preserves the upstream claim command and removes Arena command registration while retaining the wallet-native Arena interface.
Wrap the deployment status message according to the SDK Prettier configuration so the Arcade CI lint gate passes without changing deployment behavior.
Что будет, если 300 секунд ни один игрок не будет делать хода? |
|
@cyberia-temple игроки вносят свой банк (ставки), одна фаза игры длится 300 секунд, если второй игрок бездействует первый забирает его банк, и так до тех пор пока не заберёт и звёзды. |
|
Я не понимаю зачем ограничение в 300 секунд, на сервисе, где не бывает двух пользователей онлайн |
@cyberia-temple пожалуй согласен, это нецелесообразное абстрактное усложнение которое было задуманно мною для реализации абстрактных механик, но практическая польза от этого сомнительная. технически убрать таймер можно. но тогда после начала матча исчезнувший игрок навсегда в блокчейне нет фонового процесса, который сам завершает игру. нужен вызов транзакции, а поэтому текущая схема разделена так: а эти 10 минут не требуют записи в БД и не являются длительностью всей игры. это только окно а если сделать все фазы бессрочными, придётся делать усложнения и другие механику - ручную отмену, арбитра, админский timeout, страховку или отдельный dispute-процесс. короче кучу новых ограничений и препятствий. иначе зависшие ставки невозможно будет безопасно разблокировать. возражения считаю излишними, т.к на данный момент для сохранения реиграбельности и логичности происходящего без запуска и тестов ничего лучше придумать нельзя. для начала нужно тестировать действующие решения, дальше подкорректирую. |
…rcade # Conflicts: # .github/workflows/ci.yml # backend/laravel/resources/js/components/wallet/WalletPortfolio.vue # backend/laravel/resources/js/pages/Wallet.vue

Cyberia Arena adds a Rock–Paper–Scissors wallet MVP with encrypted local move secrets, CYBER escrow, match discovery, invitations, settlement and payouts.
The revised
RockPaperScissorsAsynccontract keeps challenges open indefinitely. Accepting a challenge deposits the second stake but does not start the match. Both players confirm readiness; each confirmation is valid for ten minutes without a penalty for expiry. Either participant can cancel before the start and recover deposited stakes.After mutual readiness, each commit/reveal phase lasts 600 seconds. Each inactive player's own stake accrues to the immutable Arena treasury; an active opponent gets their own stake back. If neither acts, both stakes accrue to the treasury. Normal wins and draws are unchanged, including settlement after both moves were revealed before expiry. Settlement performs no external transfers; player refunds and treasury penalties are claimed separately.
The wallet reads and displays the selected contract's rules, supports readiness and pre-start cancellation, and explains penalties in English, Russian and Simplified Chinese. New invitations carry a contract address. Original links retain the original deployed MVP; arbitrary signing targets from URLs are refused.
Deployment requires an explicit
ARENA_TREASURY_ADDRESSand verifies the deployment manifest against bytecode, constructor, phase duration and treasury. The original Solidity contract and mainnet address remain unchanged. The asynchronous contract has not been deployed to mainnet by this PR.Validation: SDK build/lint and 47 tests; 24 Arena/catalogue/localization frontend tests; targeted frontend ESLint and Laravel frontend build. Legacy rule detection was also checked against the live Cyberia RPC. The branch includes current master with wallet navigation and network-selection merge conflicts resolved.
Remaining: choose the treasury address, deploy and verify the new contract, configure its address, and run a full two-vault production UI match. Discovery remains limited to the latest 50 matches. A durable feed, background notifications, spectator bets, multiple stake assets, scheduled duels and the 12-card series remain future work.