Skip to content

feat: AI opponent placeholder + AI_PROMPT.md#210

Draft
Copilot wants to merge 4 commits into
mainfrom
copilot/add-backgammon-ai-prompt
Draft

feat: AI opponent placeholder + AI_PROMPT.md#210
Copilot wants to merge 4 commits into
mainfrom
copilot/add-backgammon-ai-prompt

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 14, 2026

  • Create AI_PROMPT.md with backgammon board/dice prompt for AI move suggestions
  • Add .ai-icon dual-icon CSS class to index.css (similar to .offline-icon)
  • Add AI opponent "coming soon" placeholder row in Friends.tsx
  • Add i18n translation keys (aiOpponent, aiComingSoon)
  • Fix direction/entry/home board table in AI_PROMPT.md
  • Update prompt response format to standard backgammon notation
  • Trim prompt — remove explicit notation/rules explanation (AI already knows backgammon)

Copilot AI and others added 2 commits May 14, 2026 06:40
- Add AI_PROMPT.md with backgammon board/dice prompt template for AI move suggestions
- Add .ai-icon dual-icon CSS (SmartToy + AutoAwesome) similar to .offline-icon
- Add disabled AI opponent 'coming soon' row in Friends list
- Add aiOpponent and aiComingSoon i18n keys

Agent-Logs-Url: https://github.com/ProLoser/PeaceInTheMiddleEast/sessions/1b9fb0a3-7909-475f-84d4-aac0ffad0d62

Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
@ProLoser
Copy link
Copy Markdown
Owner

@copilot prompt response must be in the form of backgammon notation

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 14, 2026

@copilot prompt response must be in the form of backgammon notation

Updated in d54a8ca. The prompt now instructs the AI to respond only in standard backgammon notation (e.g. 13/9 6/4, bar/21, 3/off, 13/7/2 for chained moves) and says to reply no move if nothing is playable.

@ProLoser
Copy link
Copy Markdown
Owner

@copilot assume the AI knows the rules and notation for backgammon since it's common knowledge

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 14, 2026

@copilot assume the AI knows the rules and notation for backgammon since it's common knowledge

Done in de63a4a — stripped the notation guide and rules enforcement section. The task now just asks the AI to respond in standard backgammon notation.

@github-actions
Copy link
Copy Markdown

PR Preview Action v1.8.1

🚀 View preview at
https://ProLoser.github.io/PeaceInTheMiddleEast/preview/pr-210/

Built to branch gh-pages at 2026-05-17 17:06 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants