Sneks
NFT arcade game on Base L2 with AI-powered content automation
SNEKS
Web3 Gaming + AI Content Automation
Bi-weekly prizes for top scores
Technical Breakdown
Frontend: P5.js Game Engine
Classic snake mechanics with seedable random generation for deterministic replay. Mobile-responsive controls, real-time scoring, and dynamic speed scaling as snake grows.
- • Controls: Keyboard (WASD/arrows) and touch support
- • Deterministic RNG: Enables server-side verification
- • Input Logging: Every move timestamped for replay
Blockchain: Base L2 NFTs
NFT collection on Base blockchain verified via OpenSea API. Daily turns allocated to holders. All gameplay off-chain (gas-free). Bi-weekly prize competitions for top leaderboard scores.
- • Collection: 10,000 Sneks on Base L2
- • Verification: Real-time OpenSea API checks
- • Gas-Free: Play without transaction fees
- • Prizes: Bi-weekly competitions
Backend: Render + PostgreSQL
Node.js backend on Render with PostgreSQL for leaderboards and score verification. Server replays game using seed + input log to validate scores (anti-cheat). Automated cron jobs for maintenance.
- • Hosting: Render (always-on Node.js)
- • Database: PostgreSQL for scores and turns
- • Anti-Cheat: Deterministic replay verification
- • Automation: Cron jobs for leaderboard clearing
AI Automation: Claude API + GitHub Actions
Daily Twitter posts automated via GitHub Actions. Posts one NFT from the 10k collection per day. Claude API generates Aesop Rock-style captions from NFT metadata. Zero manual posting.
- • Daily Posts: One NFT per day from collection
- • AI Captions: Claude API writes tweet text
- • Style: Aesop Rock-inspired (lyrical, cryptic)
- • Automation: GitHub Actions + Twitter API