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

Practice Time: Catching a Mouse in Verse

This simple algorithm shows how a player wins when catching a mouse:

Mouse spawns near the player. Player chases the mouse. Player catches the mouse.

Now it's your turn.

Expand the algorithm to show that the player starts with five gold coins, receives a coin for every mouse caught, and loses a coin for every mouse that gets away.

There is no wrong way to do this. It's an exercise to get you thinking about how algorithms can be broken out into steps to solve a problem or accomplish something.

Next Lesson

  • [Lesson 2: Basic Programming Components

    Lesson 2: Basic Programming Components

    Time to look at some of the elements that make code work.](/docs/documentation/en-us/fortnite/basics-of-writing-code-2-basic-programming-concepts-in-verse.md)

Comments

    Sign in to vote, comment, or suggest an edit. Sign in
    📄
    Source
    Epic Games

    © Epic Games. Official Epic developer documentation, shown here as a reference with a link to the original. All rights remain with Epic Games. Terms ↗

    View original Sources & licensing
    Request removal
    Last updated Mar 29, 2026
    Keep exploring
    More in Verse Language · 5 of 570
    Prev
    basics of writing code 1 basic programming terms in verse
    Next
    basics of writing code 2 basic programming concepts in verse
    Browse all files in this folder (A–Z)
    Next up
    • Lesson 2: Basic Programming Components
    Related topics
    • Learn Code Basics 1 Practice Time In Verse Verse Language
    • Fortnite The Basics Of Writting Code In Verse Verse Language
    • Learn The Basics Of Writing Code In Verse Verse Language
    • Learn The Basics Of Writing Code In Verse Verse Language
    • Basics Of Writing Code 5 Practice Time In Verse Verse Language

    Related

    Open in graph →

    Related topics

    • Learn Code Basics 1 Practice Time In Verse
    • Fortnite The Basics Of Writting Code In Verse
    • Learn The Basics Of Writing Code In Verse
    • Learn The Basics Of Writing Code In Verse
    • Basics Of Writing Code 5 Practice Time In Verse
    VerseIsland · an archipelago of Verse & UEFN knowledge
    🗺️ Island atlas Learn Guides History About & Press Sources & Licensing Status

    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