https://en.wikipedia.org/wiki/Merlin_(console)
Which was only 3x3. But red LEDs which were all the rage in handhelds in the 80s.
When learning JavaScript I made a dupe of the Merlin game in JavaScript. It’s really old but still seems to run. Lacks the depth of this game with its larger grid.
https://www.aramcomjean.com/magic_squares.html