Gravity Grid


The goal is to group squares of the same color together to make them disappear.  To do this, click on the arrows to tilt or flip the grid.

You can make your own levels too! Can you stump your class?

Click on the "Level Editor" button to create and test your own levels.

You can create a code for your level so you can give it to someone else to try.

Here's the code for a sample level:


Notice that the code has no spaces and you need the "code:" at the beginning and the ";2" at the end.  I had to put a line break in the above code so, when you paste it into the game, get rid of the line break!

This is the level that this code generated:

To check this, you can copy and paste the above code and put it into the game by clicking on the "Level Loader" button.

Here's another example and the grid it generates:


Again, I had to put a line break in the above code so, when you paste it into the game, get rid of the line break!

I'm going to leave it to you and your class to figure out how the coding works.

Coolmath top picks

Checkmate! Play the classic game of strategy. You can challenge the computer, a friend, or join a match against another online player.

Hop in your hot air balloon and prepare for adventure! Solve a whole new quest on every island.

Wait...Not yet...Go! Bounce the candy at the perfect time to get through the moving obstacles.

Ever played the classic game Snake? Slither around and eat the apples to grow your snake as long as possible. But don't hit the wall, or eat your own tail!

Activate the power bounce! Can you find a way over the spikes and past the guards to jump into Basket?

Swing your way through each challenging course without hitting anything. How many tries will it take you?

Take a deep breath and get your finger ready! Can you pass the ultimate one-button challenge?

You've got a limited number of slices to cut the wood into the correct number of pieces. Be precise when you slice!

Hop in your helicopter and join this strategic multiplayer game. Specialize your copter, build a base, and conquer the map!

Hey you, stop! And you, drive! you're going to crash! Take control of the roads to keep traffic moving. One mistake might cause a 10-car pileup.

Merch store promo