~/talk

How to Build a World-Class Rock Paper Scissors Bot

Talkat RubyConf 2017 · 2017-11-15..11-17· [ruby]
slides:none on file

Claims a working implementation of Iocaine Powder that wins 1,000‑round bouts by combining frequency counters, regex‑based direct history, de Bruijn–generated balanced strings, and layered meta‑meta strategy scoring with exponential decay (example 10%) so strategies adapt in hundreds of rounds. Code is Ruby (translated de Bruijn from Python), uses windowed pattern matching and score tables, and ships as a Slack bot you can add and play. Historical note: Iocaine Powder wins the 1999 international RoShamBo competition.

AI-written summary · about

  1. 0:00Introduction
  2. 0:54Rock Paper Scissors
  3. 4:19Two Rock Paper Scissors
  4. 5:56The Problem
  5. 15:44Examples
  6. 22:53Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.