Skip to content

Cheat detection engine & Accessibility audit and ARIA roles#667

Merged
gabito1451 merged 3 commits into
OpenKnight-Foundation:mainfrom
ayshadogo:engine
Apr 23, 2026
Merged

Cheat detection engine & Accessibility audit and ARIA roles#667
gabito1451 merged 3 commits into
OpenKnight-Foundation:mainfrom
ayshadogo:engine

Conversation

@ayshadogo

Copy link
Copy Markdown
Contributor

This PR entails

  • Cheat detection hook wired to both player and opponent moves
  • FEN captured before each game.move() call for accurate analysis
  • CheatDetectionPanel rendered in the game sidebar
  • Engine reset on resign

Closes #547

Closes #579

Closes #582

@coderabbitai

coderabbitai Bot commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@ayshadogo has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 31 minutes and 5 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 31 minutes and 5 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8342d573-a699-42ff-80c0-47abf49d3a59

📥 Commits

Reviewing files that changed from the base of the PR and between 0943d26 and 32d6088.

📒 Files selected for processing (16)
  • frontend/app/layout.tsx
  • frontend/app/page.tsx
  • frontend/app/play/[slug]/page.tsx
  • frontend/app/puzzles/page.tsx
  • frontend/components/ClientRoot.tsx
  • frontend/components/GameModeButtons.tsx
  • frontend/components/GameSidebar.tsx
  • frontend/components/Header.tsx
  • frontend/components/TransactionStatusIndicator.tsx
  • frontend/components/WalletConnectModal.tsx
  • frontend/components/Web3StatusBar.tsx
  • frontend/components/chess/CheatDetectionPanel.tsx
  • frontend/context/transactionContext.tsx
  • frontend/hook/useCheatDetection.ts
  • frontend/hook/useTrackedTransaction.ts
  • frontend/lib/cheatDetection.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@drips-wave

drips-wave Bot commented Apr 23, 2026

Copy link
Copy Markdown

@ayshadogo Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@gabito1451 gabito1451 merged commit 33aac9a into OpenKnight-Foundation:main Apr 23, 2026
2 checks passed
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.

Frontend: Transaction status lifecycle indicators Frontend: Accessibility audit and ARIA roles Backend: Cheat detection engine

2 participants