Portfolio

Regex Crossword

2013-2015 · JavaScript, AngularJS, PHP

Regex Crossword is a puzzle game where you must solve a crossword consisting of clues given in the form of regular expressions.

The idea to make Regex Crossword came from the MIT Mystery Hunt, which featured a very difficult multi-dimensional regular expression crossword. I thought this was a really fun variation on the normal crossword and soduku-like puzzles, and decided to create a game with more puzzles and easier difficulty levels, so newcomers could also have a fun way to learn regular expressions.

I developed the site in JavaScript as a single-page app using AngularJS. The backend is a REST-based API using PHP with the Slim Framework and MySQL. The backend handles player scores and achievements, as well as puzzles created and curated by the community.

Challenges in the Regex Crossword puzzle game

Puzzle challenge Bat Man from the Double Cross challenge

Player profiles

Players can login with their social accounts (Facebook, Twitter, Google and Microsoft Live), to save their progress and earn achievements for completing puzzles. Security is handled by authenticating with the social networks on the front-end and then validating the tokens in the API and exchanging JSON Web Tokens.

Player profile and list of puzzles created by player

← Back to Portfolio