Capture the other team's flag to win. Blue uses WASD/IJKL and red uses arrow keys/HBNM. If the other team tags you when you are on their side, they win.
Check out my cousin's ( @Pronav2808 ) capture the flag project.