Choosing playing style of chess engine - is it possible?

Sort:
schw90

I always wanted such a chess engine that would not just defeat me, but do that in many interesting and queer ways via enforcing some additional weak objectives like for example:
-- put higher probability on moving a pawn  (so it would more often attack with pawns)
-- put higher probability on moves that decrease the distance between considered piece to enemy king compared to moves that increase that distance (so it would feel like suffocate-the-enemy-king style)
-- put higher/lower probability on moves that change horizontal line of considered piece to be "higher" (nearer to enemy side). It would be attacking/defensive style.
-- put higher probability on moves which wouldn't lead to exchanges (trying to maximize the chance to checkmate in middlegame)
-- put higher probability on moves that will expectedly result in opponent's king moving to some predefined cell (or line) in middlegame - to checkmate in a given cell
-- etc., and combinations of those
As I have only ~1400 elo in chess, I assume that even under such additional weak constraints, Stockfish still will easily beat me happy.png but it would be so much fun)
It would be even much greater if it would be easy to adjust such settings while playing... or to have a possibility to program new weak constraints easily by end-users.
By "weak constraint" I mean that the constraint isn't a strict rule, but just some increase in probability. So occasionally (or often... it depends on user setting for that constraint) Stockfish (or some other chess engine) would violate that constraint, if it can't do good enough move without violating the constraint. 

So I wonder whether it has been already invented and programmed? In that case, please tell me about thathappy.png