Mapping Flatland: Using MongoDB for an MMO Crossword Game

Grant Goodale

December 01, 2011

WordSquared is a massively multiplayer online scrabble crossword that uses MongoDB to store location data. Players place tiles in realtime, and compete to build the longest chain of words and earn points. WordSquared leverages MongoDB's built-in geospatial indexing, storing an x and y coordinate with each tile and using bounding box queries to display a view of the board. In this session, the WordSquared creator will present on the architecture of the game, with a specific focus on the use of MongoDB. We'll discuss storing and querying location data, and you'll learn how to structure and even shard your geo data through the unlikely use case of an infinitely large board game.