~/talk

Pac Man from Scratch

Talkat GoWayFest 3.0 2019 · on Friday, 2019-07-05· [game-development, go]
slides:none on file

A Pac‑Man clone written in Go runs in the terminal using an ASCII maze plus configurable Unicode emojis and a width-scaling flag, available at github.com/danicat/pacgo with a present branch of annotated source. It implements nonblocking input by moving keyboard reads into a goroutine and sending events over goroutines and channels, animates at ~5 FPS with a 200ms frame delay, counts dots for win conditions, supports simple random-ghost AI and an optional A pathfinding* pink ghost, and works on Linux/mac terminals (not Windows).

AI-written summary · about

  1. 0:00Introduction and background
  2. 4:02Terminal basics for game display
  3. 6:57Loading the maze from file
  4. 8:27Setting up screen and input handling
  5. 11:22Adding player movement
  6. 13:52Implementing ghosts
  7. 16:19Game win and lose conditions
  8. 18:42Adding concurrency for smooth gameplay
  9. 20:29Enhancing with emojis and colors
  10. 23:20Future improvements and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.