FORMLESS is a drawing game for iPhone. I made it alone for the Solo Challenge at Apple Developer Academy in Bali. I wanted to learn how to train a model with Create ML and use it in an app with Core ML. I also really wanted to make a game, so I put the two together.
What the game does
In FORMLESS you draw simple 2D shapes called Forms, and each Form stands for an element. Petro is a square-like Form of earth. Vento is the Form of wind.
- You walk around the world and read clues to find out which Form a place needs.
- Pick a target, draw a Form with one finger, and tap Manifest.
- Petro opens a blocked path. Vento calms a guardian and helps you cross a river.
- The game checks your drawing first. If it can’t be a Form, nothing happens.
What I built is a short playable slice: one area for Petro, one for Vento, and a mystery glyph at the end.
What I did
- Built Glyph Lab, a small tool inside the app where I draw a Form, label it and save it as training data. I drew the whole dataset myself with it.
- Trained the model that tells Petro from Vento in Create ML, three times, testing each one in Glyph Lab before it went into the game.
- Added a shape check before the model, so drawings that can’t be a Form get turned away.
- Made every drawing into the same 299 × 299 image, so the model sees the same kind of input in the game as it did in training.
- Built the game world in SpriteKit, with SwiftUI for the drawing canvas, dialogue and controls.
Glyph Lab, where I drew and tested every Form
What I learned
My first model scored 100% accuracy and still didn’t work. When I drew something random, it said Petro or Vento anyway, since those were the only answers it knew. Adding more data didn’t fix that. What fixed it was the shape check, which looks at things like whether the shape is closed and how its corners sit. So high accuracy on test data doesn’t mean a model works with real players.
Create ML is great for learning, since training needs no code. SpriteKit is fine for a small game, but if I needed something like a tilemap editor, I’d pick a proper game engine. And I tried AI for the game art, but the assets didn’t look consistent with each other, so I used free assets instead.




