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; Revised by Justin Robles jrobles@uoregon.edu
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.
When a user types in a letter that is not allowed, javascript will delete that letter. If you were to type in many letters rapidly then the letters will not delete.
Project is updated and will always be checking the users input rather than when a submit button is pressed.
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.
Create a credentials.ini file in the vocab folder Using command like run
make start
If you end a test either with ctrl + c or using make stop you will not be able to use the same port number. To kill the port you must run the following commands
lsof -i :<PORT NUMBER>
kill <PID>
Added in letter highlighting that will highlight letters while the user types them in. Insane mode. Just try it. You know you want to.