publish and play Kakro on web browser
SumApplet version 1.2



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



Sample(How to play)
To select a cell or sum number, click on it.
To Unselect, click around the question.

To move the selected cell, use the arrow keys of keyboard.
If unable,click on the question again.

To show or hide "Data in/out frame", click twice continually around the question.
(See the following explanation.)
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

cancel------format all data
check-------check the present answer completed or not

analysis once-------analyse the question once
analysis full---------analyse the question as far as analysable
analysis stop-------stop the analysis

save-------save the present data temporarily
load-------load the temporary saved data



"Data in/out frame"

To show or hide "Data in/out frame", click twice continually around the question.

This frame can save plural cell's data temporarily.
To save forever, you must save the text on this frame to a text file.
  • [take out]-[question] ---- take out the present question data in field by text
  • [take in]-[question] ---- take in the field text data to the question

  • [take out]-[slot1-3] ---- take out the slot data in field
  • [take in]-[slot1-3] ---- take in the field data to the slot
  • The temporary data disappears when you shut down web browser.
    To save forever, save to text file.

    more Kakro questions



    Downroad

    "sum_12.zip"(56KB)



    Showable type(version 1.2)



    Explanation

    This program is JavaApplet,so you must edit web page(HTML document).

    1. Arrangement of file and JavaApplet

    2. Designation of question contents(new version)

    3. Designation of question contents(old version)

    4. Omission of additonal functions(hint,analysis)

    5. How to change language



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

    ABCDEFG
    1\4\27\\15\16\]
    2\6

    23\12

    ]
    3\32




    ]
    4\8\12


    14\]
    5\33




    ]
    6\5

    \7

    ]
    (above sample question)
    To show answer from beginning, input only the answer number.

    ABCDEFG
    1\4\27\\15\16\]
    2\61523\1239]
    3\3239857]
    4\8\1246214\]
    5\3357948]
    6\532\716]
    (above sample question)

    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.2 2004/12 version 1.1 2002/10 version 1.0


    TakanaFactory(http://www.takana.info/)