{"id":28619072,"url":"https://github.com/blopez024/bryan_l_knightsofjavascript","last_synced_at":"2025-06-12T04:20:28.425Z","repository":{"id":288356352,"uuid":"967771620","full_name":"blopez024/Bryan_L_KnightsOfJavaScript","owner":"blopez024","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-17T04:17:32.000Z","size":1614,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-17T15:13:16.567Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://blopez024.github.io/Bryan_L_KnightsOfJavaScript/","language":"JavaScript","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/blopez024.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-04-17T01:23:43.000Z","updated_at":"2025-04-17T04:17:35.000Z","dependencies_parsed_at":"2025-04-17T15:13:18.818Z","dependency_job_id":"b982757d-0ccb-4f2f-a2e9-b320be21d955","html_url":"https://github.com/blopez024/Bryan_L_KnightsOfJavaScript","commit_stats":null,"previous_names":["blopez024/bryan_l_knightsofjavascript"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blopez024/Bryan_L_KnightsOfJavaScript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blopez024%2FBryan_L_KnightsOfJavaScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blopez024%2FBryan_L_KnightsOfJavaScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blopez024%2FBryan_L_KnightsOfJavaScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blopez024%2FBryan_L_KnightsOfJavaScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blopez024","download_url":"https://codeload.github.com/blopez024/Bryan_L_KnightsOfJavaScript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blopez024%2FBryan_L_KnightsOfJavaScript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259395543,"owners_count":22850852,"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":[],"created_at":"2025-06-12T04:20:21.323Z","updated_at":"2025-06-12T04:20:28.417Z","avatar_url":"https://github.com/blopez024.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛡️ Knights of JavaScript\n\n## 🎯 Objective\n\nCreate a fully functional, browser-based **turn-based battle game** where two players fight until one emerges victorious!\n\n## 🚀 Getting Started\n\n1. Download the [starter code](https://drive.google.com/file/d/1UAz7gK72ZHusX_8Q9_fkruLRz_fkAOSr/view) and extract it.\n2. Initialize your Git repository **from inside** the extracted folder.\n3. Begin development based on the provided template.\n\n## 🧠 Game Overview\n\n- The game is built using **HTML, CSS, and JavaScript**.\n- The base logic for Player 1 is provided.\n- Your task is to implement Player 2 and ensure full game functionality.\n\n## ✅ Features to Implement\n\n- Replicate Player 1 logic for **Player 2**.\n- Track player turns and update button styles using `classList()`.\n- Alternate turns by enabling/disabling attack buttons:\n  - Active player's button = grey.\n  - Inactive player's button = red (or default).\n- Add visual effects when players attack each other.\n- Handle game-over state:\n  - Stop health below 0.\n  - Display winning player and end screen.\n- Add a background image to the `\u003cbody\u003e`.\n- Comment all newly written code to explain its functionality.\n\n## 🧪 Final Checklist\n\n- [ ] Game is **bug-free** and runs smoothly.\n- [ ] All turn-based mechanics are fully functional.\n- [ ] UI clearly reflects whose turn it is and game state.\n- [ ] Project is fully commented (new code only).\n- [ ] Repository follows naming convention: `FirstName_LastInitial_KnightsOfJavaScript`.\n- [ ] Repo is private and instructional staff are collaborators.\n\n## 📬 Submission Instructions\n\n- Push your completed project to a **private GitHub repo**.\n- Share the repo link on **Canvas** for grading.\n- Don’t forget to add your instructors as collaborators!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblopez024%2Fbryan_l_knightsofjavascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblopez024%2Fbryan_l_knightsofjavascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblopez024%2Fbryan_l_knightsofjavascript/lists"}