#lang clicker-pokemon

About this Language

Use this Ratchet-enabled language to create your own pokemon-themed clicker game!

  • Customize your avatar to your favorite pokemon!
  • Add stones to collect for points!
  • Add trainers that will chase you!
  • Add special items for extra fun!

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=clicker-cartoon

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


Hello World 000

Code a simple game with no customizations.

#lang clicker-pokemon-collect

(start-forest)
In Ratchet:

Clicker Collect 001

Code a forest game where the cursor is a bulbasaur.

#lang clicker-pokemon-collect

(start-forest bulbasaur)
In Ratchet:

Clicker Collect 002

Code a snow game where the cursor is a squirtle collecting fire stones.

#lang clicker-pokemon-collect

(start-snow squirtle (fire-stone))
In Ratchet:

Clicker Collect 003

Code a snow game where the cursor is a pikachu collecting fire stones and water stones.

#lang clicker-pokemon-collect

(start-snow pikachu (fire-stone water-stone))
In Ratchet:

Clicker Collect 004

Code a forest game where the cursor is a charmander collecting leaf stones and [choose-your-own-sprite].

#lang clicker-pokemon-collect

(start-forest charmander (leaf-stone rand))
In Ratchet:

Clicker Collect 005

Code a snow game where the cursor is a [choose-your-own-sprite] collecting speed 4 water stones.

#lang clicker-pokemon-collect

(start-snow rand ((water-stone 4)))
In Ratchet:

Clicker Collect 006

Code a forest game where the cursor is a leaf stone collecting bulbasaurs, charmanders, and speed 1 squirtles.

#lang clicker-pokemon-collect

(start-forest
  leaf-stone
  (bulbasaur charmander (squirtle 1)))
In Ratchet:

Clicker Collect 007

Code a snow game where the cursor is a [choose-your-own-sprite] collecting speed 1 water stones and speed 5 fire stones.

#lang clicker-pokemon-collect

(start-snow
  rand
  ((water-stone 1) (fire-stone 5)))
In Ratchet:

Clicker Collect 008

Code a forest game where the cursor is a pikachu collecting pikachus, pikachus, and pikachus.

#lang clicker-pokemon-collect

(start-forest pikachu (pikachu pikachu pikachu))
In Ratchet:

Clicker Collect 009

Code a snow game where the cursor is a water stone collecting [choose-your-own-sprite] and speed 5 [choose-your-own-sprite].

#lang clicker-pokemon-collect

(start-snow water-stone (rand (rand 5)))
In Ratchet:

Clicker Collect 010

Code a forest game where the cursor is a bulbasaur collecting speed 5 leaf stones, speed 4 squirtles, and speed 1 charmanders.

#lang clicker-pokemon-collect

(start-forest
  bulbasaur
  ((leaf-stone 5) (squirtle 4) (charmander 1)))
In Ratchet:

Hello World 000

Code a simple game with no customizations.

#lang clicker-pokemon-collect

(start-forest)
In Ratchet:

Clicker Avoid 001

Code a desert game where the cursor is a pikachu collecting fire stones, and is avoiding trainer girls.

#lang clicker-pokemon-avoid

(start-desert
  pikachu
  (fire-stone)
  (trainer-girl))
In Ratchet:

Clicker Avoid 002

Code a snow game where the cursor is a wartortle collecting thunder stones, and is avoiding mewtwos and trainer boys.

#lang clicker-pokemon-avoid

(start-snow
  wartortle
  (thunder-stone)
  (mewtwo trainer-boy))
In Ratchet:

Clicker Avoid 003

Code a desert game where the cursor is a charmeleon collecting leaf stones, and is avoiding speed 1 leaf stones.

#lang clicker-pokemon-avoid

(start-desert
  charmeleon
  (leaf-stone)
  ((leaf-stone 1)))
In Ratchet:

Clicker Avoid 004

Code a forest game where the cursor is a jessie collecting ivysaurs and speed 5 pikachus, and is avoiding thunder stones and speed 5 wartortles.

#lang clicker-pokemon-avoid

(start-forest
  jessie
  (ivysaur (pikachu 5))
  (thunder-stone (wartortle 5)))
In Ratchet:

Clicker Avoid 005

Code a forest game where the cursor is a trainer girl collecting trainer girls, and is avoiding speed 1 trainer girls.

#lang clicker-pokemon-avoid

(start-forest
  trainer-girl
  (trainer-girl)
  ((trainer-girl 1)))
In Ratchet:

Clicker Avoid 006

Code a forest game where the cursor is a red ivysaur collecting leaf stones and fire stones, and is avoiding jessies.

#lang clicker-pokemon-avoid

(start-forest
  (ivysaur red)
  (leaf-stone fire-stone)
  (jessie))
In Ratchet:

Clicker Avoid 007

Code a snow game where the cursor is a charmeleon collecting green thunder stones, and is avoiding mewtwos and trainer boys.

#lang clicker-pokemon-avoid

(start-snow
  charmeleon
  ((thunder-stone green))
  (mewtwo trainer-boy))
In Ratchet:

Clicker Avoid 008

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.

#lang clicker-pokemon-avoid

(start-desert
  rand
  (thunder-stone (trainer-girl orange) wartortle)
  (fire-stone (mewtwo 1) pikachu))
In Ratchet:

Clicker Avoid 009

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].

#lang clicker-pokemon-avoid

(start-forest
  jessie
  ((charmeleon yellow) (rand 5))
  ((leaf-stone 1) (rand purple)))
In Ratchet:

Clicker Avoid 010

Code a forest game where the cursor is a blue ivysaur collecting green ivysaurs, and is avoiding red ivysaurs.

#lang clicker-pokemon-avoid

(start-forest
  (ivysaur blue)
  ((ivysaur green))
  ((ivysaur red)))
In Ratchet:

Clicker Special 001

Code a forest game where the cursor is a charizard collecting fire stones, and is avoiding james, and can get special ice powers.

#lang clicker-pokemon-special

(start-forest
  charizard
  (fire-stone)
  (james)
  (ice-power))
In Ratchet:

Clicker Special 002

Code a desert game where the cursor is a blastoise collecting fire stones and purple sun stones, and is avoiding red pokeballs, and can get special turtle powers.

#lang clicker-pokemon-special

(start-desert
  blastoise
  (fire-stone (sun-stone purple))
  ((pokeball red))
  (turtle-power))
In Ratchet:

Clicker Special 003

Code a snow game where the cursor is a trainer girl collecting venasaurs and mewtwos, and is avoiding speed 3 red venasaurs and speed 1 orange mewtwos, and can get special light powers.

#lang clicker-pokemon-special

(start-snow
  trainer-girl
  (venasaur mewtwo)
  ((venasaur 3 red) (mewtwo 1 orange))
  (light-power))
In Ratchet:

Clicker Special 004

Code a desert game where the cursor is a mewtwo collecting green james and blue fire stones, and is avoiding pokeballs, and can get special 200-point sun stones.

#lang clicker-pokemon-special

(start-desert
  mewtwo
  ((james green) (fire-stone blue))
  (pokeball)
  ((sun-stone 200)))
In Ratchet:

Clicker Special 005

Code a forest game where the cursor is a blastoise collecting red sun stones and speed 4 trainer girls, and is avoiding speed 1 yellow venasaurs and charizards, and can get special 200-point purple fire stones.

#lang clicker-pokemon-special

(start-forest
  blastoise
  ((sun-stone red) (trainer-girl 4))
  ((venasaur 1 yellow) charizard)
  ((fire-stone 200 purple)))
In Ratchet:

Clicker Special 006

Code a game with multiple levels: 1) where the cursor is a mewtwo collecting fire stones and sun stones, and is avoiding james; 2) where the cursor is a mewtwo collecting orange fire stones and speed 4 sun stones, and is avoiding speed 5 red james, and can get special ice powers.

#lang clicker-pokemon-special

(start-snow
  mewtwo
  (fire-stone sun-stone)
  (james))

(start-snow
  mewtwo
  ((fire-stone orange) (sun-stone 4))
  ((james 5 red))
  (ice-power))
In Ratchet:

Clicker Special 007

Code a game with multiple levels: 1) where the cursor is a venasaur collecting fire stones, and is avoiding speed 1 trainer girls; 2) where the cursor is a venasaur collecting speed 3 green sun stones, and is avoiding speed 3 red blastoises, and can get special light powers; 3) where the cursor is a venasaur collecting speed 5 fire stones, and is avoiding speed 5 blastoises and speed 5 trainer girls, and can get special 300-point sun stones.

#lang clicker-pokemon-special

(start-forest
  venasaur
  (fire-stone)
  ((trainer-girl 1)))

(start-snow
  venasaur
  ((sun-stone 3 green))
  ((blastoise 3 red))
  (light-power))

(start-desert
  venasaur
  ((fire-stone 5))
  ((blastoise 5) (trainer-girl 5))
  ((sun-stone 300)))
In Ratchet:

Clicker Special 008

Code a game with multiple levels: 1) where the cursor is a fire stone collecting venasaurs and charizards, and is avoiding pokeballs, and can get special ice powers; 2) where the cursor is a fire stone collecting speed 5 yellow venasaurs, and is avoiding speed 5 red james and speed 5 red trainer girls, and can get special turtle powers and 300-point charizards.

#lang clicker-pokemon-special

(start-desert
  fire-stone
  (venasaur charizard)
  (pokeball)
  (ice-power))

(start-snow
  fire-stone
  ((venasaur 5 yellow))
  ((james 5 red) (trainer-girl 5 red))
  (turtle-power (charizard 300)))
In Ratchet:

Clicker Special 009

Code a game with multiple levels: 1) where the cursor is a venasaur collecting speed 1 blue fire stones, and is avoiding trainer girls, and can get special light powers; 2) where the cursor is a charizard collecting speed 3 purple fire stones, and is avoiding speed 3 james and speed 3 trainer girls, and can get special turtle powers and 5-point light powers; 3) where the cursor is an orange blastoise collecting speed 5 fire stones, and is avoiding speed 5 james, speed 5 pokeballs, and speed 5 trainer girls, and can get special ice powers, light powers, and 500-point sun stones.

#lang clicker-pokemon-special

(start-forest
  venasaur
  ((fire-stone 1 blue))
  (trainer-girl)
  (light-power))

(start-forest
  charizard
  ((fire-stone 3 purple))
  ((james 3) (trainer-girl 3))
  (turtle-power (light-power 5)))

(start-forest
  (blastoise orange)
  ((fire-stone 5))
  ((james 5) (pokeball 5) (trainer-girl 5))
  (ice-power light-power (sun-stone 500)))
In Ratchet: