Heuristic rule based Tetris playing AI agent