~/talk

"Pac Man from Scratch"

Talkat GothamGo 2019 · on Friday, 2019-04-12· [go]
slides:none on file

A playable Pac‑Man clone written in Go that runs in the terminal with emojis and a complete refactor from a nonidiomatic tutorial codebase to an idiomatic version, demonstrated working live. Uses terminal ANSI escape sequences, raw and cbreak modes for keystrokes, a game loop with a goroutine input channel, simple random ghost AI, collision, dot counting and a single‑life win/lose, runs about five frames per second, and loads an emoji JSON mapping that patches cursor math to keep alignment.

AI-written summary · about

  1. 0:00Introduction
  2. 4:43Project Setup
  3. 5:42Maze Code
  4. 6:35Input
  5. 9:09Player
  6. 12:08Ghost
  7. 13:59Game Over
  8. 16:09Go Run
  9. 18:42Emojis
~/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.