Revision as of 14:08, 6 September 2020 by Leahcimto (talk | contribs) (Removed a unnecessary dash)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Document stub.png This article or section may not have content matching Scratch Wiki editing standards. Please improve it according to Scratch Wiki:Guidelines and Scratch Wiki:Editing Conventions. (November 2017)
Document.png Please expand this article or section. You can help by adding more information if you are an editor. More information might be found in a section of the talk page. (May 2019)

A puzzle game is a game genre found on Scratch. This genre is focused on introducing game mechanics while forcing the player to interact with them in creative and obscure ways to accomplish a goal.

Types of Puzzles

Although puzzle games may vary greatly, here are some common puzzle games made on Scratch:

  • Maze
  • Jigsaw
  • Battleship
  • Chess
  • Sudoku

How to Make Puzzle Games Listed Above

Maze Game

A maze game is a game wherein the character should get to the finish, by using arrow keys.

First, one should make the maze. Here is a sample screenshot: Maze1.JPG

Then, create the character, e.g. a small, black circle, and the finish line, e.g. a flag with black and white rectangles.

For the character, place these scripts:

when [right arrow v] key pressed
change x by (10)
if on edge, bounce // This means that if it goes to the edge of the screen, it bounces back

when [left arrow v] key pressed
change x by (-10)
if on edge, bounce

when [up arrow v] key pressed
change y by (10)
if on edge, bounce

when [down arrow v] key pressed
change y by (-10)
if on edge, bounce

when gf clicked
if <touching [#008000]?> then // Should be the wall color
change x by (10)

when gf clicked
if <touching [Sprite2 v]?> then // Sprite or color can do
switch backdrop to [you win v] // Optional


Jigsaw Puzzle

A jigsaw puzzle is a type of puzzle wherein one combines pieces to form a picture. Usually, jigsaws range from just four pieces to hundreds of them.

First, create the pieces. One can use any paint editor to create them.

Then, place these scripts on each of the puzzle pieces:

when gf clicked
if <(distance to [any surrounding piece v]) < (15)> then
go to [any surrounding piece v]

Finally, allow it to be dragged. Just click the blue "i" near the sprite thumbnail, then allow it to be dragged on player.


Cookies help us deliver our services. By using our services, you agree to our use of cookies.