A language learning trivia website that allows users to fully customize the questions that are asked. It also features a competitive mode where the users can compete for points in a game similar to Jeopardy.
The current UI progress. This will change in the future, and it is only a placeholder.
-
French
-
Japanese
-
Add a Japanese Language quiz sheet.
-
Fix the UI to look neater.
-
Clone this repo, then make a new folder in the same directory as the cloned repo called "peril".
-
CD into the cloned repo, then run
cmake ../peril
. -
CD into
../peril
and then runcmake --build .
. -
Run
./peril
. If everything returns 0, then all your files are there!
-
Check the instructions for creating the C++ language files by going to
cpp_src/fetch_data_LANG_TEMPLATE.cpp
andcpp_src/fetch_data_LANG_TEMPLATE.hpp
. -
Add your
fetch_data_LANG_XXX_all
function tocpp_src/main.cpp
in themain()
function, before the line that saysstd::cout << "main() = 0" << endl;
. Preferrably, you should call the function usingstd::cout
like the ones above are called to give the user an indication of the language function's status. -
Once you have added your
fetch_data_LANG_XXX.cpp/.hpp
files, add them tocpp_src/CMakeLists.txt
. -
Create a manifest file in
category_data
using the formatmanifest.lang.XXX.json
(you can look at the other manifest files for examples). -
Add your manifest file to the
"quizzes"
field incategory_data/manifest.json
. -
Compile the program, and run it to generate all of the proper files.
Made a new language entry? Create a pull request with your language entry! It would be great to have additional languages available for this program!