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

2 Hero Katas

2.1 Hero Kata (difficulty = 1)

read
Code a game with a hero.
code
#lang battlearena-avengers
 
(avengers-game #:hero (basic-hero))

2.2 Hero Kata (difficulty = 1)

Tip: Look for more sprites in the Assets Library.

read
Code a game with Thor as the hero.
code
#lang battlearena-avengers
 
(avengers-game
  #:hero (basic-hero #:sprite thor-sprite))

2.3 Hero Kata (difficulty = 2)

Tip: The default speed is 10.

read
Code a game with a fast-moving Hulk hero.
code
#lang battlearena-avengers
 
(define (my-hero)
   (basic-hero #:sprite hulk-sprite #:speed 15))
 
(avengers-game #:hero (my-hero))

2.4 Hero Kata (difficulty = 3)

Tip: The default item-slots is 2.

read
Code a game with a fast-moving Drax hero, a large backpack, and double the health and shield values.
code
#lang battlearena-avengers
 
(define (my-hero)
   (basic-hero
    #:sprite drax-sprite
    #:speed 25
    #:item-slots 5
    #:health 200
    #:max-health 200
    #:shield 200
    #:max-shield 200))
 
(avengers-game #:hero (my-hero))