Capture the flag

Can someone help create a new game I want to make a capture th flag game but I don’t know how to code it P.S. I am VERY NEW to coding

You might need to be a bit more specific. What exactly do you want help with?

Well I got to when I was making the world and I went to See if it worked and my screen flashed white the black over and over again like I said I want it to be capture the flag but that happened :-S

Post the code here and folks can have a look at it for you.