|
Some usefull functions(hint,note and analysis) are added. These are also omitable. 日本語ページ |
|
From writer: I can hardly read and write English, and recognize that this document contains many wrong English. So,I hope that someone corrects my poor writing. Isn't there a kind person ? Japanese amateur programer:
RouteTakana
|
| ||||
|
upper:comment show the action and result lower:hint show the able number combination at the selected sum if checked |
upper:data input input the selected number in the selected cell (by keyboard too) lower:note note numbers at every cell and sum | |||
| ||||
Downroad
"sum_12.zip"(56KB)
Showable type(version 1.2)
- normal type which use from 1 to 9
(Size is optional.)
Explanation
This program is JavaApplet,so you must edit web page(HTML document).
1. Arrangement of file and JavaApplet
Arrange files as follows:
[***](optional folder) | |--***.htm(web page which JavaApplet is arranged in) | |--***.csv(question file) | |--english.txt(language file) | |--SumApplet.class(program file) |--Sum.class |--Part.class |--SumDataFrame.class |--SumLoader.class |Arrange JavaApplet in web page as follows:
<applet code="SumApplet.class" width="[applet width]" height="[applet height]">
<param name="languagefile" value="english.txt">
<param name="size" value="[cell size]">
(Add other parameters here.)
</applet>
Use JavaApplet parameter to designate condition.
Parameter "languagefile" is necessary to use this program in English.
Use with attached language file "english.txt".
Parameter "size" is cell size of question by pixel.
(Default value is "40". Designate only if other size is necessary.)
Regulate JavaApplet size and cell size to look better. ---- regulation samples
return
2. Designation of question contents(new version)
Input sum numbers at both side of "\" like the question
by spreadsheet(for example "Excel").
If no number, input nothing.
Add "]" at right end.
Save by comma separated values(*.csv).
Place it as question file.
Add the following parameter between applet tag.
<param name="datafile" value="[question file path]">
(above sample question)
A B C D E F G 1 \ 4\ 27\ \ 15\ 16\ ] 2 \6 23\12 ] 3 \32 ] 4 \ 8\12 14\ ] 5 \33 ] 6 \5 \7 ] To show answer from beginning, input only the answer number.
(above sample question)
A B C D E F G 1 \ 4\ 27\ \ 15\ 16\ ] 2 \6 1 5 23\12 3 9 ] 3 \32 3 9 8 5 7 ] 4 \ 8\12 4 6 2 14\ ] 5 \33 5 7 9 4 8 ] 6 \5 3 2 \7 1 6 ]
return
3. Designation of question contents(old version)
Open question file(*.csv) by text editer(for example "Notepad").
Copy this text and paste in parameter.
\,4\,27\,\,15\,16\,]
\6,,,23\12,,,]
\32,,,,,,]
\,8\12,,,,14\,]
\33,,,,,,]
\5,,,\7,,,]
Add the following parameter between applet tag.
In this way, question file is unnecessary.
<param name="data" value="
\,4\,27\,\,15\,16\,]
\6,,,23\12,,,]
\32,,,,,,]
\,8\12,,,,14\,]
\33,,,,,,]
\5,,,\7,,,]
">
return
4. Omission of additonal functions(hint,note,analysis)
To omit each function, add the following parameter.
(Default value is "on".) ---- omission samples
analysis
<param name="answer" value="off">
hint
<param name="hint" value="off">
return
5. How to change language
You can change language used in this program.
Make a language file and add the following parameter between applet tag.
(Default language is Japanese.)
<param name="languagefile" value="[language file path]">
Language file is a text file which signature all used sentences in this program.
Open "english.txt", change sentences and save on different name.
return
Version infomation
2006/2 version 1.22004/12 version 1.1
- realize to change language
- improve sentence and button arrangement
- realize to read question data from outer file
- adjust panel back color
2002/10 version 1.0
- realize to input by keyboard
- realize to move selected cell by arrow key
- realize to omit hint
- add "Data in/out frame"
- improve number paint
- change question data input form simply
- strengthen error check