Andrea Serreli

Game Programmer | andreaserreli1984 [at] gmail.com

Memory

Memory is a game I did as a programming test for Cateia Games back in 2016. It actually got me a final job offer, which I gladly accepted. Unfortunately a month before I could begin working with them, one of their publishers dismissed the whole branch for which I was hired in the first place.

The test was explicitly requiring full parametrization of the game:

  • a grid of N*M cards, such that N*M is an even number
  • from a limited set of card images, it must be a match-2 memory game, no matter what N and M are
  • up to 4 players
Early version with quadtrees
Final version

A 10*6 deck VS a 6*10 deck

I put particular care in the software design, applying several Design Patterns I studied such as the Factory Pattern, the Singleton Pattern and the Observer Pattern, and using a solid and clean Object-Oriented class hierarchy.

A crazy 100*50 deck. It definitely works.

Memory has been fully programmed in JavaScript. I used the PIXI.js library for graphics and animations.

The game can be played online here.