A quiz with 7 questions about various topics, in which each correct answer earns the player 10 points. Users can also view their past games.
Quiz.mp4
in this project , I learned how to use the JPA more effectively.
I learned how to use a foreign key and relate multiple pieces of
datas to the same ID using JPA's @ManyToOne annotation to establish
relationships between multiple pieces of data for each ID.
I also learned how to test if the alternatives are true by using a
Boolean column inside a MySQL table, when 1 represents true and 0 represents false.
- The quiz has 7 questions, and the user must be choose one of the 4 available alternatives for each question.
- Users have the possibility to view their past games.