On this page:
2.1 Avatar Kata (difficulty = 1)
2.2 Avatar Kata (difficulty = 1)
2.3 Avatar Kata (difficulty = 3)
2.4 Avatar Kata (difficulty = 3)

2 Avatar Katas

2.1 Avatar Kata (difficulty = 1)

read
Code a game with an avatar.
code
#lang battlearena-fortnite
 
(fortnite-game #:avatar (basic-avatar))

2.2 Avatar Kata (difficulty = 1)

read
Code a game with an avatar that has a custom sprite.
code
#lang battlearena-fortnite
 
(fortnite-game
  #:avatar (basic-avatar #:sprite constructor-sprite))

2.3 Avatar Kata (difficulty = 3)

Tip: The default speed is 10.

read
Code a game with a fast-moving sprite.
code
#lang battlearena-fortnite
 
(define (my-avatar)
   (basic-avatar
    #:sprite ninja-sprite
    #:speed 20
    #:key-mode 'arrow-keys
    #:item-slots 5))
 
(fortnite-game #:avatar (my-avatar))

2.4 Avatar Kata (difficulty = 3)

Tip: The default item-slots is 2.

read
Code a game with a fast-moving sprite, a large backpack, and double the health and shield values.
code
#lang battlearena-fortnite
 
(define (my-avatar)
   (basic-avatar
    #:sprite pirateboy-sprite
    #:speed 20
    #:item-slots 5
    #:health 200
    #:shield 200
    #:max-health 200
    #:max-shield 200))
 
(fortnite-game #:avatar (my-avatar))