Rock Paper Scissors with Workers AI

Engineering work by Orçun Candan.

Implementation

Browser-based game that sends webcam frames to Cloudflare Clef for bounded rock, paper and scissors classification. Client-side motion gating reduces unnecessary requests; a Worker combines Durable Object daily budgets, per-IP quotas and burst rate limiting.

Results & scope

Public playable demo with server-side AI inference and usage controls. Camera access requires HTTPS or localhost; classification depends on the model and camera conditions.

Tools & technologies

  • Cloudflare Workers AI
  • Clef
  • Durable Objects
  • JavaScript
  • Camera API

Sources & public evidence

All projects · Contact Orçun Candan