Vocabularly anagrams game for primary school English language learners (ELL)
A simple anagram game designed for English-language learning students in
elementary and middle school.
Students are presented with a list of vocabulary words (taken from a text file)
and an anagram. The anagram is a jumble of some number of vocabulary words, randomly chosen. Students attempt to type vocabularly words that can be created from the
jumble. When a matching word is typed, it is added to a list of solved words.
The vocabulary word list is fixed for one invocation of the server, so multiple students connected to the same server will see the same vocabulary list but may have different anagrams.
Initial version by M Young; to be revised by CIS 322 students.
The start/stop scheme is not working. Flask (or perhaps the virtual environment) is creating two Unix processes running the application, and I am capturing the process ID for only one of them. Therefore stop.sh manages to kill only one, leaving the other running. At this time I do not know a workaround. It is necessary to kill the second process manually. Use 'ps | grep python' to discover it, then 'kill' to kill it. Or, on Linux systems, use the 'killall' command.
flask_vocab.py and the template vocab.html are a 'skeleton' version
of the anagram game for a CIS 322 project. They uses conventional
interaction through a form, interacting only when the user submits the form.
Your assignment is to replace the interaction with AJAX interaction on each
keystroke.
flask_minijax.py and templates/minijax.html are a tiny example of using JQuery with flask for an Ajax application. They should not be included in the version of the project you turn in.
nosetests
There are currently nose tests for vocab.py, letterbag.py, and jumble.py.
'make test' should work. To run 'nosetests' explicitly, you must be in the 'vocab' subdirectory.