By: SErebros
Since: September 2019
Licence: MIT
-
Ensure you have Java
11
or above installed on your system. -
Download the latest
Dukemon.jar
here. -
Copy the file to the folder you want to use as the home directory of Dukemon (this is where your data will be stored).
-
Double-click the
Dukemon.jar
to run the app. -
Before getting to the quick start instructions, get familiar with our interface and application modes.
-
Click on the CommandBox as shown above (region in yellow box) and type commands in.
-
Use Enter to execute commands.
-
e.g. Typing
help
into the CommandBox and pressing Enter will open the Help window.
-
-
Text-based feedback for each command entered is shown in the ResultDisplay (region in red box).
There are 4 application modes.
In the highlighted section above, you can see the current mode you are in and the available modes.
To transition between them you have to enter the SwitchCommand
that represents each mode into the Command Box that says Enter command here...
-
open
Enter
to enteropen
mode -
start
Enter
to entergame
mode -
settings
Enter
to entersettings
mode -
home
Enter
to enterhome
mode
Yes, it feels like a steep learning curve >_<
But do not worry as we have the AutoComplete Bar that auto completes the available commands whichever mode you are in.
The highlighted section shows, what commands are currently available. You can click them to automatically fill it in for you. Each of your keystroke will dynamically update the AutoComplete bar, just like the keyboard on your smartphone.
Let’s select the sample WordBank and play a game to get familiar.
-
select sample
Enter-
This would allow you to switch modes
-
-
open
Enter -
start
Enter -
guess <your_guess>
Enter-
keep guessing till the statistics screen appears
-
you can switch modes now
-
-
home
Enter
Getting comfortable? Ready to master the application commands?
Some typical commands to get familiar with are:
-
create <NAME>
: Creates an empty WordBank with specified name. (in Home Mode) -
select <NAME>
: Selects and switch to WordBank with the specified name. (in Home Mode) -
add w/<WORD> m/<MEANING>
: Adds a new Card with specified Word and Meaning into the current WordBank. (in Open Mode) -
list
: Lists all Cards in the current WordBank. (in Open Mode) -
start <EASY/MEDIUM/HARD>
: Starts a Game session with the specified Difficulty. Default difficulty in Settings will be used if not specified. (after selecting WordBank) -
guess <YOUR_ANSWER>
: Makes a Guess for the current Word whose Meaning is shown on the UI. (in Game Mode) -
stop
: Stops the current Game session. (in Game Mode) -
exit
: Exits Dukemon. (in any mode except Game)
-
Create/Choose a Wordbank
-
View Global Statistics
-
Create/Add/Modify Cards of your WordBank. (Each Card contains a Word and Meaning).
-
View Statistics belonging to a specific WordBank
-
Guess Words based on each Meaning that appear as quickly as possible.
-
Finish the Game and view the Statistics for your game session.
-
Configure your preferred Settings. (change Difficulty, Theme etc.)
Command Format
-
Words in
UPPER_CASE
are the parameters to be supplied by the user.
Eg. inadd w/WORD m/MEANING
,WORD
is a parameter which can be used as
add w/Charmander m/Fire starter pokemon
. -
Items in square brackets are optional.
Eg.w/WORD [t/TAG]
can be used as
add w/Squirtle m/Water starter pokemon t/Water type
or as
add w/Squirtle m/Water starter pokemon
. -
Items with
…
after them can be used multiple times including zero times.
E.g.[t/TAG]…
can be used ast/CS2040
,t/CS2040 t/GRAPH
etc. -
Parameters can be in any order.
E.g. if the command specifiesw/WORD m/MEANING
,m/MEANING w/WORD
is also acceptable.
(Available in all modes as long as WordBank is selected and game is not running)
Opens the page to edit the WordBank selected.
Format: open
-
Use the select command to select a WordBank. Otherwise it won’t work.
Starts the game with the WordBank selected.
Format: start [DIFFICULTY]
-
Use the select command to select a WordBank. Otherwise it won’t work.
Examples:
-
start
-
start easy
ℹ️
|
Entering the start command after WordBank is selected will enter game mode. In event that there are fewer than 3 cards, the game would not run. You would have to go to open mode to add cards.
|
(Available in Open mode)
Adds a new word-meaning pair to the WordBank.
Format: add w/WORD m/MEANING
Examples:
-
add w/Dukemon m/the Flashcard app of the future
-
add w/Newton’s third law of motion m/Every action will produce and equal and opposite reaction
-
add w/Kopi Luwak m/Coffee produced from the coffee beans found in the faeces of a civet cat
ℹ️
|
There can be duplicate Words, but duplicate Meanings will be rejected. |
Deletes the specified index from the WordBank.
Format: delete INDEX
-
Deletes the card at the specified
INDEX
. -
The index must be a positive integer 1, 2, 3, …, and must be a valid index within the list.
-
The index refers to the index number shown in the displayed card list.
Examples:
-
delete 2
Deletes the 2nd card. -
delete 1
Deletes the 1st card in the results of thefind
command.
Edits a card.
Format: edit INDEX [w/WORD] [m/MEANING] [t/TAG]
Examples:
-
edit 1 w/new word m/new meaning
-
edit 2 m/new meaning with tag t/tagged
Finds entry whose Word or Meaning or Tag contain any of the given keywords.
Format: find KEYWORD [MORE_KEYWORDS]…
-
The search is case insensitive. e.g
capital
will matchcApiTAl
-
The order of the keywords does not matter. e.g.
key words
will matchwords key
-
Word, Meaning or Tag will be searched
-
Words contained within will be matched e.g.
formal
will matchInformal
-
Cards matching at least one keyword will be returned (i.e.
OR
search). e.g.Peter man
will returnPeter Parker
,Spiderman
Examples:
-
find long
Returns any entries containinglong
in its Word, Meaning or Tag. -
find mammal fish bird
Returns any entries containingmammal
,fish
orbird
in its Word, Meaning or Tag.
(Available in Home mode)
Lets Dukemon know what WordBank you have selected.
Format: select WORD_BANK
Examples:
-
select arithmetic
-
select sample
Creates a new WordBank with specified name.
Format: create WORD_BANK
Examples:
-
create CS2040
-
create Biology
Removes a new WordBank with specified name.
Format: remove WORD_BANK
Examples:
-
remove Gen 3 pokemon
-
remove Vocabulary
Imports the WordBank from a specified folder path on your system.
Format: import w/WORD_BANK f/FOLDER
-
FOLDER
is the folder where the WordBank file reside. -
WORD_BANK
is the name of the file without the extension. -
Dukemon can only read json WordBank files.
Examples:
(Use \ for Windows)
-
import w/cs2040_graph f/~/downloads
-
import w/fire pokemons f//Users/chrischenhui/data
ℹ️
|
We have a drag and drop feature. You can drag and drop a file from your computer into the section which holds the WordBanks. |
Exports the WordBank to a specified file path on your system.
Format: export w/WORD_BANK f/FOLDER
-
FOLDER
is the folder where the WordBank file reside. -
WORD_BANK
is the name of the file without the extension. -
Dukemon exports WordBanks into json files.
Examples:
-
export w/ma1101r theorems f/~
-
export w/biology definitions f/~/downloads
ℹ️
|
We have a drag and drop feature. You can also drag and drop a WordBank outside of Dukemon, and into your computer. |
(Available in Open mode)
(Available in Game mode)
This section covers the actions and feedback that are relevant to the Game mode. The general layout of the UI when a Game is in progress is as seen above.
-
The timer will be activated to reflect the time left before the Game skips over to the next card. (region in yellow box)
-
The Meaning of the current Card is shown in the region contained by the red box. Based on this Meaning you will make a Guess for the Word it is describing.
-
Hints (if enabled) will be periodically shown as time passes (region in the blue box) in a Hangman-style. The number of hints given differs across each Difficulty.
The relevant command(s) are:
-
Starting new game session:
Format:
start [EASY/MEDIUM/HARD]
-
Starts a game session with the currently selected WordBank and specified Difficulty. (WorkBank selection is done in Home mode.) If no Difficuty is specified, the default Difficulty in Settings will be used.
-
The relevant command(s) are:
-
Making a Guess for a Word:
Format:
guess WORD
-
Makes a guess for the Word described by the currently shown Meaning. (non case-sensitive)
ℹ️The guess
keyword is automatically enabled for you for every question- there is no need to typeguess
before every Guess of a Word.
-
-
Skipping over a Word:
Format:
skip
-
Skips over the current Word. (is counted as a wrong answer)
-
A Game finishes when all Cards have been attempted. Statistics are
automatically shown upon completion of a Game (see Fig. 6 above). The user can choose to stop
a Game before it has finished- all current Game progress is lost, and
no Statistics are collected (see Fig. 7 above).
The relevant command(s) are:
-
Stopping a Game (before it has finished):
Format:
stop
-
Forcibly terminates the current active Game session.
-
(Available in Settings mode)
Goes into the settings menu.
Format: settings
Changes the theme of the UI.
Format: theme dark/light
Examples:
-
theme dark
Changes the UI theme to dark.
-
theme light
Changes the UI theme to light.
Turns hints on or off.
Format: hints on/off
Examples:
-
hints on
Turns hints on.
-
hints off
Turns hints off.
Changes the difficulty of the game.
Format: difficulty easy/medium/hard
Examples:
-
difficulty easy
Changes the difficulty to easy. (Timer = 15 seconds)
-
difficulty medium
Changes the difficulty to medium. (Timer = 10 seconds)
-
difficulty hard
Changes the difficulty to hard. (Timer = 5 seconds)
Changes the avatar in the home screen. The avatar is one of the 151 original pokemon, so pick and choose! (There is a secret avatar as well. See if you can find it!)
Format: avatar [0 - 151]
avatar 0
sets the avatars to random.
Examples:
-
avatar 0
Changes the avatar to a random one everytime a new command is called. -
avatar 1
Changes the avatar to 001 in the original Pokedex, which is Bulbasaur.
-
avatar 151
Changes the avatar to 151 in the original Pokedex, which is Mew.
This section covers the Statistics shown to the user.
The game result is shown to the user every time a Game finishes. It contains information regarding the finished Game session and Statistics for the selected WordBank.
We use a simple formula to calculate the score: floor of (Number of correct answers) / (Total questions) * 100.
The WordBank statistics is shown in the Open mode and contains all information regarding the selected WordBank.
ℹ️
|
The high score and fastest clear timing of a WordBank will not be reset upon adding/deleting cards. |
Streamlines the process of sharing of WordBanks with friends.
From HOME
mode, you can view your WordBanks.
Simply drag and drop a WordBank json file from your computer into the Dukemon GUI.
Likewise, drag and drop a WordBank out of the application, into say,
your desktop, or chat applications.
Try it!
ℹ️
|
Dukemon only accepts json files when importing WordBanks. Attempting to import or export other types files will not be successful. |
A revision bank is automatically updated for you, every time a game session ends.
It collates all your wrong cards, whichever WordBank it may have came from.
It is also smart enough to remove the cards if you have cleared it afterwards.
The revision bank is best appreciated when you actually play around with some WordBanks, and then visit the revision bank to revise wrong cards. Give it a try!
Command Type | Command Keyword | Parameter(s) (if any) |
---|---|---|
Switch Commands |
|
|
|
||
|
|
|
|
||
Card Commands |
|
|
|
|
|
|
|
|
|
|
|
|
||
|
||
WordBank Commands |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WordBank Statistics Commands |
|
|
Game Commands |
|
|
|
||
|
||
Settings Commands |
|
|
|
|
|
|
|
|
|
|
|
Misc. Commands |
|
|
|
Smart algorithms to pop reminders for you to know which bank you have not visited and is most likely to forget soon.
Have more than one account to monitor statistics on the same computer
Q: Dukemon is not starting up/crashes upon load-up, how can I rectify this?
A: Move Dukemon to a new, empty file directory. Ensure that all data and configuration files in the same directory are
deleted (some files may be corrupted). Dukemon will perform a clean start from the new directory.
Q: The Game failed to start, what can I do?
A: Ensure that your selected WordBank has at least three Cards to be able to start. Also note that
you will be brought to the Game mode regardless, and will need to switch out of it.
Q: Switching modes is not working, what can I do?
A: Ensure that you have selected a WordBank before attempting to switch modes. Check that you have stopped the Game session
if you want to switch to certain modes.
Q: How do I pronounce the app name?
A: Think Pokemon.
Q: The GUI (Graphical User Interface) seems to be lagging, is this an issue?
A: Dukemon aims to run at around 60fps, but performance varies across machines.
Q: How can I transfer/share WordBanks across machines?
A: Use the export
and import
functionalities to move data to specific file directories. From there you can
share your files manually. You can make use of the drag and drop feature to accelerate the process.
Q: How can I save my data?
A: Dukemon’s data is saved to the hard disk automatically (eg. adding cards/words, statistics etc)
There is no need to manually save data or Game Statistics
.
Q: I edited some files and Dukemon doesn’t work properly now. How do I resolve this?
A: Please edit only if you know what you are doing, for non-advanced players, interact through Dukemon.
To resolve, refer to the FAQ: "Dukemon is not starting up/crashes upon load-up, how can I rectify this?".