ENGINEERING 77 upvotes 2008

How I built a poker-bot

77 pts
Hacker News Signal
2008 · Shared by @run4yourlives
How I built a poker-bot by @run4yourlives

Retrospective Overview & Key Insights

Distilled reflections, business mechanics, and tactical takeaways:

In this technical retrospective (2008), @run4yourlives shares practical architectural lessons learned from running, scaling, or migrating production software under lean constraints.

Core Principles for Independent Builders:
1
Defaulting to simpler architectures (such as monolithic frameworks, SQLite, or managed VPS) prevents early engineering bankruptcy.
2
Evaluating true compute and egress costs reveals that high cloud bills can often be slashed by 80%+ through judicious re-platforming.
3
Code you write at 2 AM as a solo engineer must be easy to debug six months later without complex microservice dependencies.
Community Debate Themes:

HN engineers debated the tradeoffs between cloud convenience and raw server economics, database indexing strategies, and resisting premature architectural complexity.

Community Discussions & Critical Reviews

Key perspectives, counter-arguments, and peer founder insights debated on Hacker News (37 total discussions):

GR @gruseom Peer Contributor
XI @xirium Peer Contributor
SS @ssharp Peer Contributor
CT @ctkrohn Peer Contributor

It's interesting, but to be honest, if you're smart enough to make a successful poker bot, you're probably smart enough to write a program to trade stocks or other liquid instruments like government bonds or commodity futures. The potential winnings are much higher, it's perfectly legal, and due to the depth of the markets such programs are capable of making much more money than poker bots. It's also doable, as funds like Renaissance Technologies (http://en.wikipedia.org/wiki/Renaissance_Technologies ↗) and D. E. Shaw have demonstrated.

FL @Flemlord Peer Contributor

I was involved in a fairly elaborate pokerbot effort. Believe me, the mechanics of playing the game are the easy part. The hard part is writing the poker logic. Check this out if you want an intro to the "basic" concepts:

Lokibot: http://www.cs.ualberta.ca/~jonathan/Grad/papp/thesis.html ↗

The bot described in that paper lost about 8c a hand at the $1 tables. After extensive modifications, we got it to the point where it was losing about 2c a hand. This when Bush made poker illegal in the US, and we killed the project.

HISTORICAL ERA Web 2.0 Genesis (2007–2013)
COMMUNITY SCORE 77 points
TOTAL DISCUSSIONS 37 comments
TOPICS & TECH STACK: