arduino programming

I am a high school student starting out with Arduino and coding, I am making a pac man game that sits in front of you and uses LED’ s and push buttons as the food and ghosts. I am seeking help in making the ghosts blink across like a stoplight blinks in a sequence please help me or guide me in the right direction. Answer here or via email: 19gordno@wtahs.com. Please and thank you.