Make Games for Playdate with Lua
A downloadable book

Whether you've never coded a game before or have years of experience under your belt, you'll learn the fundamentals of how to make games for Playdate using the Lua programming language. Make Games for Playdate with Lua covers how to program with Lua and the essential Playdate APIs. You'll make a handful of games to get you kickstarted on making your dream game for Playdate.
Have fun learning how to program games from scratch for Playdate!
Written in a fun and accessible style, Make Games for Playdate with Lua is a great way to get started learning game programming. The book is perfect for beginners. And if you've already made some games before, you'll feel right at home as you go through the chapters.

You'll code a bunch of small games from scratch to learn everything to need to bring your game ideas to reality.
One of the joys of making games for Playdate is how simple it is and how quickly you can test your game on your game console. Playdate's limitations in resolution, input, and color make it perfect for someone just getting started making games.
No worries if you don't have a Playdate yet! You can make games for Playdate without having the console on hand. The Playdate SDK is free and available to download for all major operating systems.
Check out the free sample of the first three chapters to get a preview of the book.
Early access
Make Games for Playdate with Lua is actively being written. The book is in Early Access. It has not been edited or proofread yet. The earlier you buy it, the cheaper it will be. As the content of the book expands, the price will increase. You'll get updates for the book as they're released.
The book is currently about 80% complete.
I try to released a new version of the book every month. I'll send an email via itch.io when I've updated the book. You'll always be able to come back to this page and download the book as well.
What you'll learn
- Programming basics with Lua—variables, functions, tables, conditionals and more
- Game programming concepts
- Handling user input
- How to build and test your Playdate game
- The most essential Playdate APIs
- How to publish your Playdate game online
Table of contents
What's written:
- Introduction — get yourself and your computer prepared for for making games for Playdate
- Hello, Playdate! — display text and move it around the screen
- Tennis — code a single-player Pong clone
- Clock — make a simple clock using a custom font
- Snake — learn about saving and loading data from Playdate, loops, and adding a menu option
- Soaring — an infinite flier controlled with crank
- Sokoban — building the classic box-pushing puzzler
- Dungeon Crawler — a turn-based JRPG
Based on how the book is received, I'd like to continue to expand the content and explore recording video versions of the chapters.
Release log
- Nov 12, 2025 - added Dungeon Crawler - Part 1 chapter
- Sep 7, 2025 - added Sokoban chapter
- Feb 18, 2025 - added initial Playdate by Example chapter
- Dec 16, 2024 - added Soaring chapter
- Nov 24, 2024 - added Snake chapter
- Nov 17, 2024 - initial Early Access launch
Source code & related projects
The source code for the games from each chapter can be viewed online: https://github.com/brettchalupa/playdatebook Each chapter has its own folder, which contains a separate folder for each section to make it easier to follow along.
I also polished up the Snake chapter into its own game called PDSnake, which you can play https://brettchalupa.itch.io/pdsnake and view the source of https://sr.ht/~bcodes/pdsnake/.
| Status | In development |
| Category | Book |
| Author | Brett Chalupa |
| Tags | lua, Playdate, Tutorial |
| Average session | About a half-hour |
| Links | GitHub |
Purchase
In order to download this book you must purchase it at or above the minimum price of $6.99 USD. You will get access to the following files:
Download demo
Development log
- Dungeon Crawler - Part 1 chapter published48 days ago
- Finally, an update! Added the new Sokoban chapter.Sep 07, 2025
- I'm writing a book on how to make games for PlaydateFeb 22, 2025





Comments
Log in with itch.io to leave a comment.
Thanks a lot, purchased.
Thank you for you support, enjoy!
Howdy! I’m loving the book so far and can’t wait to see the next update. I have found a few typos and misplaced lines of text. I understand it’s still being written, so I wanted to share that I am very interested in helping you edit the book! Feel free to reach out here on itch or emailing me (ochoa_at_julian8a.com) if you want some help with editing! Keep up the great work, Brett! It’s very inspiring stuff.
Thanks for the support, I really appreciate it! I will reach out via email about the typos. I’ve been a bit slow lately, but I’m back in a groove and have been working on the new chapters.
Oh nice, I'd like to read that! Purchased.
Thanks for your support! If you have any feedback or requests, let me know.
it's nice to see you're still making stuff!
Thanks! Usually dabbling and experimenting but trying to get back in the groove of finishing stuff and sharing it.