{"id":20760774,"url":"https://github.com/dracula27/objects-practice","last_synced_at":"2026-05-03T20:39:51.576Z","repository":{"id":92041743,"uuid":"569465237","full_name":"DrAcula27/objects-practice","owner":"DrAcula27","description":"Per Scholas - Week2 - JS\u0026CSS Concepts - Assignment: Party Array","archived":false,"fork":false,"pushed_at":"2022-11-23T17:18:56.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-12T02:40:52.199Z","etag":null,"topics":["git","github","javascript"],"latest_commit_sha":null,"homepage":"","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/DrAcula27.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}},"created_at":"2022-11-22T22:18:45.000Z","updated_at":"2022-11-25T19:11:55.000Z","dependencies_parsed_at":"2024-05-13T16:18:42.331Z","dependency_job_id":null,"html_url":"https://github.com/DrAcula27/objects-practice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DrAcula27/objects-practice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2Fobjects-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2Fobjects-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2Fobjects-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2Fobjects-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrAcula27","download_url":"https://codeload.github.com/DrAcula27/objects-practice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrAcula27%2Fobjects-practice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32584646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["git","github","javascript"],"created_at":"2024-11-17T10:15:42.207Z","updated_at":"2026-05-03T20:39:51.542Z","avatar_url":"https://github.com/DrAcula27.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# objects-practice\n\n\u003ch1\u003ePer Scholas - Week2 - JS\u0026CSS Concepts - Assignment: Party Array\u003c/h1\u003e\n\n\u003cp\u003eBelow are the prompts I followed to write some JavaScript code to manipulate an array of objects for a party of adventurers.\u003c/p\u003e\n\u003cul\u003e\n    \u003cli\u003ePrompt 1: double the hitpoints of everyone in the party.\u003c/li\u003e\n    \u003cli\u003ePrompt 2: Timothy has been hit with an arrow, subtract 5 points from his hp.\u003c/li\u003e\n    \u003cli\u003ePrompt 3: Sarah's tiger has been turned into a jellyfish by a wizard, please change it.\u003c/li\u003e\n    \u003cli\u003ePrompt 4: Timothy drank this potion. Raise his hitpoints by 20 and remove \"potion\" from his belongings.\u003c/li\u003e\n    \u003cli\u003ePrompt 5: Timothy got hungry and stole Joline's bread. Take it out of her belongings and put it  into Timothy's belongings.\u003c/li\u003e\n    \u003cli\u003ePrompt 6: Joline got upset and left the party. Take her out of the array. (leaving member is parameter).\u003c/li\u003e\n    \u003cli\u003ePrompt 7: Timothy and Sarah have been recruiting. Add a new adventurer to the party. (new adventurer is parameter).\u003c/li\u003e\n    \u003cli\u003ePrompt 8: The party has been doing well! They found 200 gold. Create a new property called gold and split the gold evenly between everyone. (amount of gold is parameter).\u003c/li\u003e\n    \u003cli\u003ePrompt 9: Sarah is tired of taking care of a jellyfish. Subtract some gold from her and change her companion to a bear.\u003c/li\u003e\n    \u003cli\u003ePrompt 10: Timothy’s sword has gotten old. Change it to “Rusty Sword\".\u003c/li\u003e\n    \u003cli\u003ePrompt 11: Write a function called setLeader that takes a name as a parameter. The member with that name should have a new property leader: true while the other members have leader: false.\u003c/li\u003e\n\u003c/ul\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdracula27%2Fobjects-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdracula27%2Fobjects-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdracula27%2Fobjects-practice/lists"}