Some time ago I played a game here on armor games, that I want to play again now, but I forgot the name.
In the game, you could go to quests/dungeon. In those dungeons you were fighting enemies by soving puzzles. You had to match rows of similiar items, like in candy crush. For every solved row you hit the enemy. If you won you got loot that you could equipt or sell at your shop.