Show HN: Brain Frog – Can you be random enough for 11 lines of JavaScript?

Hacker News Top Products

Summary

Brain Frog is a web game where you punch left or right and the frog learns your pattern using JavaScript; you must be unpredictable to land 50 hits.

No content available
Original Article
View Cached Full Text

Cached at: 06/25/26, 05:15 AM

# Brain Frog Source: [https://brainfrog.lol/](https://brainfrog.lol/) BRAIN FROG Punch left or right —**tap**or use the**← →**keys\. The frog learns your pattern and blocks where it thinks you'll hit, so stay unpredictable\. Land**50 hits**before your punches run out\. Sign in \(top\-right\) to play Ranked and earn coins\. How does the frog block?The frog is**not reacting**to your punch — it commits to a side a split\-second**before**you swing\. It looks only at your**last 3 punches**\(and whether each one landed\) to predict your next hand\. No peeking, just pattern\-reading — so change up your rhythm to throw it off\. Tip:**Coach**mode is on in Practice \(it shows a live read\) — press**C**to hide or show it\.

Similar Articles