Sorry, I don't have that much to go on, but I'm looking for an old game that I used to play.
The game has a very limited color palette (4 bit). The background was black and there were white lines to indicate the walls (a rectangle with hole)
The player controlled a white guy (arrow keys) and had to move him from room to room to find items (apples, keys and armour). Certain rooms had obstacles (snakes), so you couldn't go inside them without the proper item.