VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse Fortnite›Verse Language·Up to Fortnite · Verse Language·1 of 570 in Verse Language

Constructing The Game

The final step is to put all the pieces together through a game manager. The game manager controls the assignment of gameplay objects to players and the flow of the game loop. Specifically, the game manager:

  • Assigns gameplay objects such as board and miniboard to players.
  • Controls the logic of the game loop, including what happens when a move occurs.
  • Determines when a player has won and gameplay ends.

Define the Move Types

During a player's turn, the player chooses a coordinate on the game board. Once a coordinate is chosen, there are two different move types:

  • Attack: Attempt to destroy the pawn at the given location.
  • Reveal: Reveal all pawns within a certain radius of a given location.

In the DataTypes module, add the following enum defining the move types:

|  |  |
| --- | --- |
|  | using{/Verse.org/Simulation} |
|  | using{/Verse.org/Random} |
|  | using{/UnrealEngine.com/Temporary/SpatialMath} |
|  |  |
|  | DataTypes<public> := module: |
|  |  |
|  | ... |
|  |  |
|  | move_type<public> := enum<open>: |
|  | Attack |
|  | Reveal |
|  | Unknown |

using{/Verse.org/Simulation} using{/Verse.org/Random} using{/UnrealEngine.com/Temporary/SpatialMath} DataTypes<public> := module: ... move_type<public> := enum<open>: Attack Reveal Unknown

You're reading a preview

The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.

Sign in with Discord — free for members Read the original at Epic Games documentation

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

Keep exploring
More in Verse Language · 1 of 570
Next
any in verse
Browse all files in this folder (A–Z)

Source

Epic Games documentation

View original

Last updated 2026-05-12T21:45:41.847331+00:00

VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

🦜

Scout · your island guide

The Isle of Verse