#lang healer-animal

About this Language

Use this Ratchet-enabled language to create your own healer game!

  • Customize your avatar!
  • Add yummy food to eat!
  • Add friend and heal them for points!
  • Add enimies for an extra challenge!

TIP: This is a language collection that actually includes 3 language levels -- be sure to check the lang line for a given section before attempting to write the code in Ratchet.

Never used Ratchet or need a reminder? Check out this video: How to Code in Ratchet

To Install

Package Source: https://github.com/thoughtstem/TS-K2-Languages.git?path=healer-animal

Need a reminder how to install a package? Check out this video tutorial.


Hello World 000

Code a basic game with no customizations.

#lang healer-animal-foods

(start)
In Ratchet:

Healer Foods 001

Code a game with a chicken.

#lang healer-animal-foods

(start chicken)
In Ratchet:

Healer Foods 002

Code a game with a chicken eating apples.

#lang healer-animal-foods

(start chicken (apple))
In Ratchet:

Healer Foods 003

Code a game with a llama eating broccoli and grapes.

#lang healer-animal-foods

(start llama (broccoli grapes))
In Ratchet:

Healer Foods 004

Code a game with a horse eating grapes, onions, and apples.

#lang healer-animal-foods

(start horse (grapes onion apple))
In Ratchet:

Healer Foods 005

Code a game with a [choose-your-own-sprite] eating [choose-your-own-sprite], [choose-your-own-sprite], and [choose-your-own-sprite].

#lang healer-animal-foods

(start rand (rand rand rand))
In Ratchet:

Hello World 000

Code a basic game with no customizations.

#lang healer-animal-foods

(start)
In Ratchet:

Healer Friends 001

Code a game with a llama eating apples, and with llama friends.

#lang healer-animal-friends

(start llama (apple) (llama))
In Ratchet:

Healer Friends 002

Code a game with a cow eating bananas and mushrooms, and with cow and rabbit friends.

#lang healer-animal-friends

(start cow (banana mushroom) (cow rabbit))
In Ratchet:

Healer Friends 003

Code a game with a red rabbit eating kiwis and apples, and with pig friends.

#lang healer-animal-friends

(start (rabbit red) (kiwi apple) (pig))
In Ratchet:

Healer Friends 004

Code a game with an orange pig eating bananas and mushrooms, and with llama and [choose-your-own-sprite] friends.

#lang healer-animal-friends

(start
  (pig orange)
  (banana mushroom)
  (llama rand))
In Ratchet:

Healer Friends 005

Code a game with a yellow apple eating kiwis and bananas, and with cow, pig, and rabbit friends.

#lang healer-animal-friends

(start
  (apple yellow)
  (kiwi banana)
  (cow pig rabbit))
In Ratchet:

Healer Friends 006

Code a game with a llama eating 5 kiwis, and with 5 cow friends.

#lang healer-animal-friends

(start llama ((kiwi 5)) ((cow 5)))
In Ratchet:

Healer Friends 007

Code a game with a green cow eating apples, and with blue rabbit friends.

#lang healer-animal-friends

(start (cow green) (apple) ((rabbit blue)))
In Ratchet:

Healer Friends 008

Code a game with a rabbit eating 4 orange bananas and 2 yellow mushrooms, and with 3 purple pig friends.

#lang healer-animal-friends

(start
  rabbit
  ((banana orange 4) (mushroom yellow 2))
  ((pig purple 3)))
In Ratchet:

Healer Friends 009

Code a game with a pig eating 5 blue kiwis, and with 3 apple and red banana friends.

#lang healer-animal-friends

(start
  pig
  ((kiwi blue 5))
  ((apple 3) (banana red)))
In Ratchet:

Healer Friends 010

Code a game with an orange [choose-your-own-sprite] eating yellow mushrooms, green kiwis, and 2 apples, and with 2 llama and purple [choose-your-own-sprite] friends.

#lang healer-animal-friends

(start
  (rand orange)
  ((mushroom yellow) (kiwi green) (apple 2))
  ((llama 2) (rand purple)))
In Ratchet:

Healer Enemies 001

Code a game with a llama eating 5 apples, and with 5 pig friends, and with pig enemies.

#lang healer-animal-enemies

(start llama ((apple 5)) ((pig 5)) (pig))
In Ratchet:

Healer Enemies 002

Code a game with a [choose-your-own-sprite] eating green kiwis, and with 2 dog friends, and with 3 dog enemies.

#lang healer-animal-enemies

(start rand ((kiwi green)) ((dog 2)) ((dog 3)))
In Ratchet:

Healer Enemies 003

Code a game with a cow eating purple strawberries, and with 5 kiwi friends, and with grapes enemies.

#lang healer-animal-enemies

(start
  cow
  ((strawberry purple))
  ((kiwi 5))
  (grapes))
In Ratchet:

Healer Enemies 004

Code a game with an apple eating 5 orange kiwis and 5 blue strawberries, and with grapes and apple friends, and with 3 red kiwi enemies.

#lang healer-animal-enemies

(start
  apple
  ((kiwi orange 5) (strawberry blue 5))
  (grapes apple)
  ((kiwi red 3)))
In Ratchet:

Healer Enemies 005

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.

#lang healer-animal-enemies

(start
  rand
  ((apple yellow 5))
  ((apple blue 5))
  ((apple green 5)))
In Ratchet:

Healer Enemies 006

Code a game with multiple levels: 1) with a llama eating 5 green apples; 2) with a llama eating 5 orange apples, and with 3 wolf friends.

#lang healer-animal-enemies

(start llama ((apple green 5)))

(start llama ((apple orange 5)) ((wolf 3)))
In Ratchet:

Healer Enemies 007

Code a game with multiple levels: 1) with an orange llama eating 8 kiwis, and with llama friends; 2) with a red llama eating 2 kiwis, and with 3 llama friends, and with dog enemies.

#lang healer-animal-enemies

(start (llama orange) ((kiwi 8)) (llama))

(start (llama red) ((kiwi 2)) ((llama 3)) (dog))
In Ratchet:

Healer Enemies 008

Code a game with multiple levels: 1) with a cow eating 2 red cows, and with 3 orange cow friends, and with yellow cow enemies; 2) with an apple eating 2 blue apples, and with 3 green apple friends, and with 4 purple apple enemies.

#lang healer-animal-enemies

(start
  cow
  ((cow red 2))
  ((cow orange 3))
  ((cow yellow)))

(start
  apple
  ((apple blue 2))
  ((apple green 3))
  ((apple purple 4)))
In Ratchet:

Healer Enemies 009

Code a game with multiple levels: 1) with a rabbit eating 2 orange kiwis; 2) with a llama eating strawberries, and with 4 green llama friends; 3) with a horse eating grapes, and with pig friends, and with 3 red wolf enemies.

#lang healer-animal-enemies

(start rabbit ((kiwi orange 2)))

(start llama (strawberry) ((llama green 4)))

(start horse (grapes) (pig) ((wolf red 3)))
In Ratchet:

Healer Enemies 010

Code a game with multiple levels: 1) with a cow eating 2 apples; 2) with a cow eating blue kiwis, and with 4 green llama friends; 3) with a cow eating grapes, and with 2 pig friends, and with 3 red wolf enemies.

#lang healer-animal-enemies

(start cow ((apple 2)))

(start cow ((kiwi blue)) ((llama green 4)))

(start cow (grapes) ((pig 2)) ((wolf red 3)))
In Ratchet: