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 strategic board game. You can challenge the computer, a friend, or join a match against another online player.

Don't crash! Leap over the hurdles and across the platforms to reach the finish line. It's hard to be an Olympian. Can you beat the first level?

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!

How's your three-point shot? Aim over defenders and obstacles, or smash right through them!

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

Launch zombies out of a cannon and into the happy faces in this crazy sequel. Take aim and let those rag dolls fly!

Run through the maze and obstacles to get to the burger stand. You only have 60 seconds, so you better start running!

Slice the jelly blob into pieces so that no pieces have more than one star. Try to do it in as few moves as possible!

It's rush hour and you're stuck in the parking lot. Move the other cars out of the way so you can reach the exit.