ucfopen / crossword-materia-widget Goto Github PK
View Code? Open in Web Editor NEWA Materia quiz and study tool that uses words and clues to randomly generate a crossword puzzle
License: GNU Affero General Public License v3.0
A Materia quiz and study tool that uses words and clues to randomly generate a crossword puzzle
License: GNU Affero General Public License v3.0
When using the crossword widget, I keep receiving the error ReferenceError: combinedClueText is not defined
. To see this error in the console, go to https://materia.ucf.edu/widgets/10-crossword and accept the first two hints.
:focus
style appliedCurrently it's possible for just about any unicode character to be used in Crossword. A crossword puzzle can be created in Russian, for example - the characters can be provided to the creator and a puzzle will be generated properly, and (it looks like) scoring will work properly as well.
Currently the Crossword player has an explicit list of characters that are considered 'allowed input'. These include the 0-9 digits, all English letters, and a number of accented characters common to western European languages. Any character included in a puzzle that is not in that list will be pre-filled and non-editable.
Consider keeping the current set of 'allowed characters' as a 'standard' set but also scraping additional characters from the qset to generate a 'all possible characters for this puzzle' list. Or potentially allowing widget creators to configure a list of allowed/disallowed characters.
While the player does a good job of preventing whitespace in most student inputs, there is one circumstance where it isn't explicitly prevented: when a user is focused on a character slot that was previously filled out, for example where words intersect. A user can enter whitespace characters and then use the arrow keys or cursor to manually select the next character slot, which results in malformed response strings being sent to Materia for scoring.
To reproduce:
Depending on the index of the word in the list, some hints may not be selectable, or an entirely different hint may be selected instead. The selection will bounce around unpredictably.
The React conversion requires that we remove the uses of print.js
and classList.min.js
in the score screen of the widget at src > scoreScreen.html
.
Working on a fix for words that are connected by their first letters. This intersection causes two numberlabels to be applied in the same place, making them overlap. Simple solution is to make vertical numberlabels left-aligned. Better solution is to change how the numbers are created so that they share the same number.
There have been some UI changes to the widget, but the screenshots haven't been updated to match.
Sample widget: https://materia.ucf.edu/preview/493/spinal-cord-disorders
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.