Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
azimux
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
azimux
11mo ago
I wrote an agent from scratch in Ruby several months back. Was fun! These 4 lines wound up being the heart of it, which is surprisingly simple, conceptually. until mission_accomplished? or given_up? or killed? determine_