The challenge was:
Create an interactive scene in a Swift playground that can be experienced within three minutes. Be creative.
SpaceHash
It is a game to save the Earth by avoiding meteorites in space.
- Earth can only move within the grid.
- The Earth has 3 hearts.
- When a Earth and a meteorite collide, you lose one heart.
- Meteorite spawn off-screen and fly in the opposite direction.
- If you eat the coins generated on the grid, you gain 100 points. And 10 points per second.