On this page:
5.1 Clicker Avoid 006 Kata
5.2 Clicker Avoid 007 Kata
5.3 Clicker Avoid 008 Kata
5.4 Clicker Avoid 009 Kata
5.5 Clicker Avoid 010 Kata

5 More Avoid Katas

5.1 Clicker Avoid 006 Kata

read
Code a forest game where the cursor is a red ivysaur collecting leaf stones and fire stones, and is avoiding jessies.
code
#lang clicker-pokemon-avoid
 
(start-forest
  (ivysaur red)
  (leaf-stone fire-stone)
  (jessie))
In Ratchet:
image

5.2 Clicker Avoid 007 Kata

read
Code a snow game where the cursor is a charmeleon collecting green thunder stones, and is avoiding mewtwos and trainer boys.
code
#lang clicker-pokemon-avoid
 
(start-snow
  charmeleon
  ((thunder-stone green))
  (mewtwo trainer-boy))
In Ratchet:
image

5.3 Clicker Avoid 008 Kata

read
Code a desert game where the cursor is a [choose-your-own-sprite] collecting thunder stones, orange trainer girls, and wartortles, and is avoiding fire stones, speed 1 mewtwos, and pikachus.
code
#lang clicker-pokemon-avoid
 
(start-desert
  rand
  (thunder-stone (trainer-girl orange) wartortle)
  (fire-stone (mewtwo 1) pikachu))
In Ratchet:
image

5.4 Clicker Avoid 009 Kata

read
Code a forest game where the cursor is a jessie collecting yellow charmeleons and speed 5 [choose-your-own-sprite], and is avoiding speed 1 leaf stones and purple [choose-your-own-sprite].
code
#lang clicker-pokemon-avoid
 
(start-forest
  jessie
  ((charmeleon yellow) (rand 5))
  ((leaf-stone 1) (rand purple)))
In Ratchet:
image

5.5 Clicker Avoid 010 Kata

read
Code a forest game where the cursor is a blue ivysaur collecting green ivysaurs, and is avoiding red ivysaurs.
code
#lang clicker-pokemon-avoid
 
(start-forest
  (ivysaur blue)
  ((ivysaur green))
  ((ivysaur red)))
In Ratchet:
image