* example of function memory game * refactor: remove unnecessary manual PartialEq implementation * refactor: remove unnecessary license note * refactor: update implementation and doc with suggestions * refactor: fix format and lint issues