Asm-Blox - A Game Based on WebAssembly That No One Asked For
EmacsConf and Emacs hangouts via YouTube
Free courses from frontend to fullstack and AI
Build the Finance Skills That Lead to Promotions — Not Just Certificates
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore the creation of asm-blox, a WebAssembly-based game, in this 16-minute conference talk from EmacsConf 2022. Dive into the game's architecture, inspired by TIS-100, and learn about WebAssembly's core concepts including stack operations, numeric commands, boolean operations, and control flow. Discover how modules are implemented and tackle a sample puzzle. Examine the game loop, a tic-tac-toe implementation, and various Emacs-specific features like text properties, code cells, and undo functionality. Gain insights into handling parentheses and converting assembly text to executable code. This talk provides a unique perspective on combining WebAssembly and Emacs for game development.
Syllabus
.000 Introduction
.680 TIS-100
.960 WebAssembly
.040 Basic stack operations
.640 Numeric commands
.680 Boolean operations
.400 Port operations
.240 Control flow
.720 Modules
.480 Puzzle
.040 The game loop
.200 Tic-tac-toe
.880 Text properties
.800 Code cells
.920 Undo
.560 Parentheses
.360 Assembly text to executable code
Taught by
EmacsConf and Emacs hangouts