Hamas , the largest and most powerful Palestinian militant group , has emerged as a key player in Palestinian politics .