# Build the first round of a multiplayer FPS in Summer Engine

> Give two teams one objective, a shared round clock and a score that advances once. Check the whole match loop in two Local Play windows.

- URL: https://www.summerengine.com/zh/blog/build-a-round-based-multiplayer-fps
- Published: 2026-11-26T00:00:00.000Z
- Author: Summer Team
- Tags: Multiplayer, FPS, Tutorial

## Quick answer

Put the round clock, objective and team scores on the match server. Start with one player per team, one objective and a short round. Both windows should announce the same winner, add one point and reset together.

You can build a room two players can run around in and still have no way to finish a match. Give your first FPS map one round that two people can play from start to finish. A control point in the middle of a gray room is enough to tell you whether the rules work.

## Pick a rule both players can see

Here is one small game. Blue wins by standing on the control point for three consecutive seconds. Orange wins if the 30-second clock expires first. If both events fall on the same server update, give the clock priority. These are rules for this example. You can change them once the round plays well.

Open your first-person project and give your agent this prompt:

> Add a two-team control-point round to my existing map. Put one player on each team. Blue wins by staying on the point for three consecutive seconds. Leaving resets its progress. Orange wins when the 30-second clock expires, including a tie on the last update. Have the match server keep time, decide the result and award one point. Show both players the scores and the result for three seconds. Then return both players to their starts, clear the point and restart the clock.

Keep the score between rounds. Reset the clock and capture progress each round. That distinction makes it easy to see a bad reset: if Blue wins twice, the next round should begin at 2–0 with an empty control point. [Summer’s team-shooter guide](https://docs.summerengine.com/build/games-like/tactical-shooter)

## Run both ways to win

Set **Debug → Local Multiplayer** to two players and press **Play**. First, leave Blue off the point until time runs out. Watch the player who stood still. Their window should announce the same winner and score as the player who moved. Next round, move Blue onto the point early and hold it. Both windows should show one point for Blue.

For the last test, step onto the point with just under three seconds left. If each team gets a win on a different screen, the clients are deciding the result independently. If both windows show the same winner but the score advances twice, ask the agent to check whether both the timer and the capture rule can still award a point after the round has ended. [Test multiplayer on one computer](https://www.summerengine.com/blog/test-multiplayer-on-one-computer)

Once the timer, score and reset agree, bring a friend into the hosted game and swap teams for a second run. That gives you a short, repeatable match to build the rest of the map around. [Invite a friend into the same match](https://www.summerengine.com/blog/invite-a-friend-to-your-multiplayer-game)

---

## Machine-readable resources

- Site index for agents: https://www.summerengine.com/llms.txt
- Full inlined content: https://www.summerengine.com/llms-full.txt
- Porting catalog: https://www.summerengine.com/llms-porting.txt
- Structured catalog: https://www.summerengine.com/agent-catalog.json
- Sitemap: https://www.summerengine.com/sitemap.xml
- Documentation: https://docs.summerengine.com
- Summer API (assets from any agent or code; public per-call model prices): https://docs.summerengine.com/api