Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lessons/en_US/MAKELESSONS
blob: 29575cc8a19997450731b51282f16c498fbf1767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#!/bin/bash
#
# Script for generating US English lesson content for Typing Turtle.
# Author: Wade Brainerd <wadetb@gmail.com>
#
# Typing Turtle content is generated using the 'lessonbuilder' program
# which comes in the TypingTurtle.activity directory.  This program
# can generate different kinds of lessons using a word list file.
# 
# You must supply a word list for your language.  It can be a plain
# text dictionary, the text of a public domain novel, etc.  You can
# concatenate several sources together into one word list.  It's 
# important to supply a good word list that will include all the 
# letters in your language, plus variations like capitals and punctuation.
#
# To create lesson content for a new language, copy this directory:
# TypingTurtle.activity/lessons/en_US/
#
# to:
# TypingTurtle.activity/lessons/xx_YY/
#
# where xx is your language code and YY is your country code.
#
# Modify the commands in the MAKELESSONS file in the new directory
# to generate lesson content for your language, taking into account
# the particulars of your keyboard layout and language.
#
# For more information on the lessonbuilder program, run:
# ../../lessonbuilder --help
#

# Generate the introductory lesson.
../../lessonbuilder --intro-lesson \
    --title="Welcome" \
    --desc="Click here to begin your typing adventure." \
    --bronze-wpm=0 --silver-wpm=0 --gold-wpm=0 \
    --bronze-accuracy=25 --silver-accuracy=50 --gold-accuracy=100 \
    --order=0 \
    --output=intro.lesson

# Generate the home, top and bottom row lessons.
../../lessonbuilder --key-lesson \
    --title="The Home Row" \
    --desc="This lesson teaches you the a, s, d, f, g, h, j, k and l keys \nin the middle of the keyboard.\nThese keys are called the Home Row." \
    --keys="asdfghjkl" \
    --wordlist=5desk.txt --badwordlist=badwords.txt \
    --order=1 \
    --output=homerow.lesson
    
../../lessonbuilder --game-lesson \
    --title="Home Row Balloons" \
    --desc="Practice the home row keys in this exciting game!\nDon't let any balloons get by!" \
    --keys="asdfghjkl" \
    --game='balloon' \
    --wordlist=5desk.txt --badwordlist=badwords.txt \
    --order=2 \
    --output=homerowgame.lesson
    
../../lessonbuilder --key-lesson \
    --title="The Top Row" \
    --desc="This lesson teaches you the q, w, e, r, t, y, u, i, o and p keys \non the top row of the keyboard." \
    --keys="qwertyuiop" --base-keys="asdfghjkl" \
    --wordlist=5desk.txt --badwordlist=badwords.txt \
    --order=3 \
    --output=toprow.lesson

../../lessonbuilder --game-lesson \
    --title="Top Row Balloons" \
    --desc="Practice the top row keys in this exciting game!\nDon't let any balloons get by!" \
    --keys="qwertyuiop" --base-keys="asdfghjkl" \
    --game='balloon' \
    --wordlist=5desk.txt --badwordlist=badwords.txt \
    --order=4 \
    --output=toprowgame.lesson
    
../../lessonbuilder --key-lesson \
    --title="The Bottom Row" \
    --desc="This lesson teaches you the z, x, c, v, b, n and m keys \non the bottom row of the keyboard." \
    --keys="zxcvbnm" --base-keys="asdfghjklqwertyuiop" \
    --wordlist=5desk.txt --badwordlist=badwords.txt \
    --order=5 \
    --output=bottomrow.lesson

../../lessonbuilder --game-lesson \
    --title="Bottom Row Balloons" \
    --desc="Practice the bottom row keys in this exciting game!\nDon't let any balloons get by!" \
    --keys="zxcvbnm" --base-keys="asdfghjklqwertyuiop" \
    --game='balloon' \
    --wordlist=5desk.txt --badwordlist=badwords.txt \
    --order=6 \
    --output=bottomrowgame.lesson
    
# Generate left and right hand capital lessons.
../../lessonbuilder --key-lesson \
    --title="Left Hand Capitals" \
    --desc="This lesson teaches you the CAPITAL letters which are typed \nby your left hand.\nThese are Q, W, E, R, T, A, S, D, F, G, Z, X, C, V and B." \
    --keys="QWERTASDFGZXCVB" --base-keys="abcdefghijklmnopqrstuvwxyz" \
    --wordlist=5desk.txt --badwordlist=badwords.txt \
    --order=7 \
    --output=leftcapital.lesson

../../lessonbuilder --game-lesson \
    --title="Left Hand Capital Balloons" \
    --desc="Practice the left hand CAPITAL letters!\nDon't let any balloons get by!" \
    --keys="QWERTASDFGZXCVB" --base-keys="abcdefghijklmnopqrstuvwxyz" \
    --game='balloon' \
    --wordlist=5desk.txt --badwordlist=badwords.txt \
    --order=8 \
    --output=leftcapitalgame.lesson
    
../../lessonbuilder --key-lesson \
    --title="Right Hand Capitals" \
    --desc="This lesson teaches you the CAPITAL letters which are typed \nby your right hand.\nThese are Y, U, I, O, P, H, J, K, L, N, and M." \
    --keys="YUIOPHJKLNM" --base-keys="abcdefghijklmnopqrstuvwxyzQWERTASDFGZXCVB" \
    --wordlist=5desk.txt --badwordlist=badwords.txt \
    --order=9 \
    --output=rightcapital.lesson

../../lessonbuilder --game-lesson \
    --title="Right Hand Capital Balloons" \
    --desc="Practice the right hand CAPITAL letters!\nDon't let any balloons get by!" \
    --keys="YUIOPHJKLNM" --base-keys="abcdefghijklmnopqrstuvwxyzQWERTASDFGZXCVB" \
    --game='balloon' \
    --wordlist=5desk.txt --badwordlist=badwords.txt \
    --order=10 \
    --output=rightcapitalgame.lesson