The purpose of the game is to remove all the tiles. Click a tile to
remove it and any vertically or horizontally adjoining tiles of the same
color. (So, clicking a tile with no neighbours of the same color does
nothing.) The more tiles that are removed in one go, the bigger the
A desktop/laptop version of Gravitate that remembers your high score
between sessions and that allows some customizations (e.g., board size)
is included with the examples for our book, Python in Practice. That book's examples also
include a 3D version of Gravitate.
We also have other desktop/laptop versions available:
The D version is our most recent and
best version. The source code is available from gravitate-d
The Nim version runs on Linux and
Windows. The archives include full source code,
and a 64-bit Windows executable in
(254KB; MD5 d68821e49b5110a477bb93f2e749d4ca)
and a 64-bit Linux executable in
(246KB; MD5 25bc41c0963e1f8335d02671b17ab094).
See also gravitate-nim
The Java version runs on any
Java desktop platform that has a modern Java runtime environment. It has
been tested on Linux and Windows with
but should run with any Java >=10.
(43KB; MD5 e83294daf73525e20af05834c298f61e). We no longer recommend
The wxPython version requires Python 3.6 or better and
wxPython 4.0 or better and has been tested on Linux and Windows.
(219KB; MD5 3ee6369d9daa8710bb8f77b407b2d8cf) or
(215KB; MD5 0a31cc452596a9c1dedde2660bec763c). We don't recommend this