GoShip
How It WorksChallengesPricingEmployers
Sign InGet Started
0developers
0companies
0assessments scored
How It Works
|Pricing
|Challenges
|Employers
|Privacy
|Terms
GoShip© 2026
Get updates
Twitter·GitHub
Systems nominal
BUILDMID

Build a Puzzle Generator

75 minutes
0 completed
canvasgamepuzzleimage-processing

Description

Build a Puzzle Generator

Build a web app that generates and lets users solve sliding tile puzzles with custom images.

Requirements

  • Generate sliding puzzles from any uploaded image (split into NxN grid)
  • Configurable grid size: 3x3, 4x4, 5x5
  • Click or keyboard to slide tiles into the empty space
  • Move counter and timer
  • Shuffle algorithm that guarantees solvability
  • Win detection with celebration animation
  • Hint button that highlights the correct position for a tile
  • Technical Notes

    Use Canvas to slice the image into tiles. Track puzzle state as a 2D array. For solvability, count inversions.

    Bonus Points

  • Auto-solve with A* algorithm (animated)
  • Leaderboard for each grid size
  • Pre-loaded image gallery (landscapes, art, memes)
  • You will be guided through MCP setup before the timer starts