Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Playing Pokemon via SMS in Swift Using Vapor and Twilio

Blog post from Twilio

Post Details
Company
Date Published
Author
Sam Agnew
Word Count
1,173
Company Posts That Month
30
Language
English
Hacker News Points
-
Post removed?
No
Summary

To build a server-side Swift application that plays Pokémon using text messages, you'll need to install wine, Vapor, and a Windows Visual Boy Advance emulator with Lua scripting capabilities. You'll write Lua code that reads from a file called "button.txt" on every frame of the game and writes to it based on button presses received via text messages. Then, you'll create a new Vapor project and add a route to receive SMS messages to your Twilio number for button presses. With ngrok, you can make your app publicly accessible and configure your phone number to start receiving text messages from friends who want to play Pokémon with you.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 1 343 110 45 +18%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.