My son (who will be 3 in April) has just started playing up at bedtime too, must be a phase! The best way I can deal with his tantrums is to walk away and leave him to it. If that doesn't work - I put him in timeout. Which is our hallway. Very boring and nothing there he would hurt himself on. I leave him screaming there for 2 minutes (Which is a long time when you're watching the clock) when I open the door I ask him why he was put in the naughty room he says sorry and then we will play an interesting game or something. Often before the tantrum starts I can usually threaten the naughty room and he'll say sorry and behave.