Mini apps in chat — Gomoku, Xiangqi and more
Play Gomoku and Xiangqi with friends right inside WidgetStore Messages — in groups too — and post results you can replay. Mini apps can’t see your contacts or messages.
In Messages, one-to-one or in a group, tap + next to the message box → Mini apps to open a mini app inside the conversation. The first two are official games: Gomoku and Xiangqi (Chinese chess).
Start a game
- Open a conversation, tap + → Mini apps, pick Gomoku or Xiangqi and tap Invite.
- An invite card appears in the chat and your board opens right away (while you wait you can change the rules, who moves first and the time per move).
- Your friend taps Accept on the card and takes the other seat. Not now sends a friendly “another time” reply.
Mini apps run in a panel above the conversation: a floating window at the bottom right on a computer, so the chat stays visible, and a half-height sheet on a phone (switch to full screen at the top right). Close it to get back to the chat; tap Open on the card to return to the same game.
Play in a group
Start a game in a group and members tap Join on the card. The first person to tap “Take the seat” plays you; everyone else watches every move live.
During a game
- Undo, draw and rematch need your opponent’s OK; a rematch swaps who moves first.
- Resign any time. With a time limit per move, running out of time loses (if your opponent disappears past the limit, you can claim the win).
- Disconnects are fine: each device keeps the move list, and reopening syncs with your opponent automatically.
- When it ends, whoever started the game sees a “Post the result to the chat” confirmation; tap Send to post a result card. Anyone can open it to replay the game move by move.
- No one around? Use Play the computer in the top-right menu — a small engine on your device, offline and free.
Rules
- Gomoku: standard 15×15 board, Black first. Choose Freestyle (five or more wins) or Renju (Black can’t play overlines, double-fours or double-threes — those points are marked × — and needs exactly five). On a phone, tap once to preview and again to place, so you don’t misplace a stone.
- Xiangqi: full movement rules (blocked horses and elephants, cannon screens, soldiers crossing the river, the palace), no moving into check and the generals may not face each other. Checkmate or stalemate wins. When the same position appears three times, a side that gave check on every move loses (perpetual check); otherwise it’s a draw. Sixty moves without a capture is also a draw. Finer “perpetual chase” rulings aren’t applied. English, Japanese and Korean use pictogram pieces.
Privacy and safety
- Invite and result cards are end-to-end encrypted like any other message.
- Each move is encrypted with the card’s session key and relayed live by the chat service, never stored — our servers can’t see the moves.
- If a mini app wants to post a card to the chat, WidgetStore always asks you first with its own confirmation.
- A mini app that has been taken down shows as “taken down” on its cards and won’t open. Use the top-right menu to report a mini app.
For developers
Anyone can build a mini app for chat: declare the chat permission in the manifest and use ws.chat.context(), ws.chat.session.send / on / save / load and ws.chat.share() from the SDK. Create a template with widgetstore app init my-game --template chat-game in the desktop app’s command line and test locally with widgetstore app dev (click “+ Player 2” for a second player). See Build your own app.
Last updated: Nov 19, 2026