拼圖遊戲
帶步數計數器的滑塊拼圖(3x3 到 5x5)。打亂後的布局保證可解。
Moves: 0Time: 0sBest time: No completed time yet at this size.
Click a tile next to the empty space, or focus the board and use the arrow keys. Arrow keys slide a tile into the empty space in that direction.
使用方法
- Pick a size (3×3, 4×4 or 5×5). Shuffles are made by sliding tiles from the solved state, so every puzzle is solvable.
- Click a tile next to the empty space to slide it in.
- Click the board to focus it, then the arrow keys work too.
- Order the numbers with the empty space back at the bottom right to finish; moves and time are recorded.
注意事項
A fully random tile arrangement is unsolvable half of the time, so this game shuffles by making random legal moves from the solved state instead — every move is reversible, which guarantees a solution exists. Best times are stored per size in this browser's localStorage (key: yt-puzzlegame-best).
常見問題
- The arrow keys feel reversed
- An arrow key names the direction a tile slides: ArrowUp slides the tile below the empty space upward into it, and so on.