What I've Learned (So Far) Building Online Mini Games with Elixir and Swift
2 days ago
- #AI-coding
- #game-development
- #Elixir-Swift
- The side project 'Migo Games' is built using Elixir and Swift, available on the App Store and web.
- AI is credited for code generation, but understanding code design remains essential.
- The tech stack includes Elixir on Phoenix, Swift with SpriteKit, Fly.io for hosting, and Crunchy Bridge for Postgres.
- Lean binary size (a few MB) is achieved with minimal dependencies, contrasting modern bloat.
- Elixir’s process model aligns well with game units (rooms), aiding scalability and fault tolerance.
- Targeting Mac alongside iOS can reduce build times compared to using Xcode simulators.
- Native apps outperform web versions in areas like haptics, animations, and full-screen experience.
- AI simplifies coding but doesn't solve hard problems like user acquisition, now more competitive.
- The author is grateful for AI's help in building software but notes challenges in workflow and distribution.