{"id":28951494,"url":"https://github.com/qabasak/8086-quiz","last_synced_at":"2025-06-23T15:02:24.273Z","repository":{"id":300318615,"uuid":"1001665983","full_name":"QabasAK/8086-Quiz","owner":"QabasAK","description":"An 8086 assembly quiz game on computational complexity, featuring user authentication, randomized MCQs, case-insensitive input, a 12-second timer, and a leaderboard. Built with BIOS interrupts and modular code, runs on 8086 emulators.","archived":false,"fork":false,"pushed_at":"2025-06-21T02:23:02.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-21T02:35:35.964Z","etag":null,"topics":["8086","8086-emulator","assembly","authentication","np-completeness"],"latest_commit_sha":null,"homepage":"","language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QabasAK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-13T19:28:01.000Z","updated_at":"2025-06-21T02:30:38.000Z","dependencies_parsed_at":"2025-06-21T02:35:37.029Z","dependency_job_id":"e2d2252e-fbfa-47c9-912d-60ff1c175341","html_url":"https://github.com/QabasAK/8086-Quiz","commit_stats":null,"previous_names":["qabasak/8086-quiz"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/QabasAK/8086-Quiz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QabasAK%2F8086-Quiz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QabasAK%2F8086-Quiz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QabasAK%2F8086-Quiz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QabasAK%2F8086-Quiz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QabasAK","download_url":"https://codeload.github.com/QabasAK/8086-Quiz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QabasAK%2F8086-Quiz/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261500286,"owners_count":23168066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["8086","8086-emulator","assembly","authentication","np-completeness"],"created_at":"2025-06-23T15:02:20.312Z","updated_at":"2025-06-23T15:02:24.256Z","avatar_url":"https://github.com/QabasAK.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Customizable Quiz Game in 8086 Microprocessor using emu8086\n\nThis project is an interactive quiz game developed in 8086 assembly. The game focuses on computational complexity and the P vs. NP problem, offering a multiple-choice question (MCQ) format with features like user authentication, random question shuffling, case-insensitive input, a personalized timer, and a session-persistent leaderboard.\n\n \u003cp align=\"center\"\u003e\n   \u003cimg src=\"https://github.com/user-attachments/assets/54502b5c-5547-44b6-9e43-b8a32579b632\" alt=\"Demo\" width=75%\u003e\n \u003c/p\u003e\n\nThe features implemented in the quiz system:\n+ **User Authentication:** Supports three hard-coded username-password pairs with three login attempts before termination.\n+ **Quiz System:** Includes five MCQ questions on computational complexity, shuffled randomly per session using a BIOS system clock seed.\n+ **Case-Insensitive Input:** Accepts answers in both uppercase and lowercase.\n+ **Personalized Timer:** Each question has a 12-second timer based on the last digit of my university ID, using BIOS-based delays.\n+ **Score Tracking \u0026 Leaderboard:** Tracks scores per user and displays a leaderboard at the end of the session.\n+ **Modular Design:** Utilizes helper procedures like `Newline`, `Peep`, and `Comparison` to ensure clean and reusable code.\n\n### Program Structure \n #### Data Segment \n The data segment stores all static and dynamic information required by the program. The following showcases the structure for each username-password pair, MCQ question as well as reading input. \n ```\nUserX db \"Name\" , 0\nPassX db \"Pass00\" , 0\n\nQx db ’ Qx : What does it mean ... ?$’\nQxA db ’A . ... $’\nQxB db ’B . ... $’\nQxC db ’C . ... $’\nQxD db ’D . ... $’\n\nQxSolC db ’Y’ , 0\nQxSolS db ’y’ , 0\nQxIn db 2 Ah , 0 , 2 Ah dup ( 0 )\nQxUserAnswer db 3 dup ( 0 )\n```\n#### Flowchart \nThe flowchart illustrates the logical sequence of the quiz program, from user authentication to quiz completion and leaderboard display.\n\n \u003cp align=\"center\"\u003e\n   \u003cimg src=\"https://github.com/user-attachments/assets/92b68d91-f4d7-454d-aaa3-64fa2714f5ed\" alt=\"Flowchart\" width=45%\u003e\n \u003c/p\u003e\n \nThis project demonstrates the power and complexity of 8086 assembly programming through an interactive quiz game. It integrates low-level concepts like BIOS interrupts, memory management, and timing analysis, making it a valuable educational tool for microprocessor studies.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqabasak%2F8086-quiz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqabasak%2F8086-quiz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqabasak%2F8086-quiz/lists"}