5 Enemies Katas
5.1 Healer Enemies 001 Kata
read
Code a game with a monkey eating 5 apples, and with 5 penguin friends, and with monkey enemies.
code
#lang healer-zoo-enemies (start monkey ((apple 5)) ((penguin 5)) (monkey))
In Ratchet:
5.2 Healer Enemies 002 Kata
read
Code a game with a [choose-your-own-sprite] eating green bananas, and with 2 zookeeper friends, and with 3 elephant enemies.
code
#lang healer-zoo-enemies (start rand ((banana green)) ((zookeeper 2)) ((elephant 3)))
In Ratchet:
5.3 Healer Enemies 003 Kata
read
Code a game with a hippo eating purple fishes, and with 5 banana friends, and with tomato enemies.
code
#lang healer-zoo-enemies (start hippo ((fish purple)) ((banana 5)) (tomato))
In Ratchet:
5.4 Healer Enemies 004 Kata
read
Code a game with an apple eating 5 orange bananas and 5 blue fishes, and with tomato and apple friends, and with 3 red banana enemies.
code
#lang healer-zoo-enemies (start apple ((banana orange 5) (fish blue 5)) (tomato apple) ((banana red 3)))
In Ratchet:
5.5 Healer Enemies 005 Kata
read
Code a game with a [choose-your-own-sprite] eating 5 yellow apples, and with 5 blue apple friends, and with 5 green apple enemies.
code
#lang healer-zoo-enemies (start rand ((apple yellow 5)) ((apple blue 5)) ((apple green 5)))
In Ratchet: