Capture the flag is a gamemode, that has been mentioned by Notch, but not added into the game. It has 2 teams, who try and steal the opponents flag from in their base. Some servers have created this, with plugins and redstone. Jeb said he may add flags, so capture the flag may be coming out soon.
Teams
In capture the flag, there are two teams, normally red and blue, and on servers, the flags are normally "crafted" out of red and blue wool. As the scoreboard system has teams, that may be something to get closer to capture the flag.
How the game works
Capture the flag is a PvP game, with two teams. You try and steal the other teams flag, and return it to your flag. If you are successful, you win. If the other teams captures your flag and returns it to their base, you lose. Capture the flag is a multiplayer game, so you will need to know the ip for a server with this game on it. You could even host capture the flag games on your own server if you have one, and you want to.
How it can work with scoreboards
With a scoreboard you can build your own game of capture the flag, and when you capture the other teams flag, and take it back to your base, you can have a hopper, you throw the flag into it, and it goes into another hopper with loads of the other teams flags in (but it has to be the correct amount) then attach it to a redstone comparator, so when you throw another flag in, it powers the redstone comparator, next to a redstone repeater, and then just attach a redstone wire, connected to a command block with this command: /scoreboard players add @a[team=blue] flag 1 (for team "blue" if the objective checking if they have the flag called "flag." It is a little complicated, so you may need some redstone skills for it to work. If you have a team called red, and they win, the command would be: /scoreboard players add @a[team=red] flag 1