{"id":20128463,"url":"https://github.com/lauragabs/classificarniveldeheroi","last_synced_at":"2026-06-09T00:31:20.964Z","repository":{"id":258728196,"uuid":"874494602","full_name":"lauragabs/ClassificarNivelDeHeroi","owner":"lauragabs","description":"Este é um projeto que classifica o nível de um herói com base na quantidade de experiência (XP)","archived":false,"fork":false,"pushed_at":"2024-10-17T23:53:18.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T21:30:05.117Z","etag":null,"topics":["javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lauragabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-10-17T23:48:42.000Z","updated_at":"2024-10-17T23:57:57.000Z","dependencies_parsed_at":"2024-10-20T19:24:29.777Z","dependency_job_id":null,"html_url":"https://github.com/lauragabs/ClassificarNivelDeHeroi","commit_stats":null,"previous_names":["lauragabs/classificarniveldeheroi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lauragabs/ClassificarNivelDeHeroi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauragabs%2FClassificarNivelDeHeroi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauragabs%2FClassificarNivelDeHeroi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauragabs%2FClassificarNivelDeHeroi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauragabs%2FClassificarNivelDeHeroi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lauragabs","download_url":"https://codeload.github.com/lauragabs/ClassificarNivelDeHeroi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauragabs%2FClassificarNivelDeHeroi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34086665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["javascript"],"created_at":"2024-11-13T20:27:16.419Z","updated_at":"2026-06-09T00:31:20.946Z","avatar_url":"https://github.com/lauragabs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Classificador de nível de Heroi \n\n## Descrição \n\nEste é um projeto que classifica o nível de um herói com base na quantidade de experiência (XP). O código utiliza variáveis, operadores e estruturas de decisão para categorizar os heróis em diferentes níveis, dependendo de sua experiência.\n\n## Objetivo do Desafio \n\nO objetivo do desafio é criar um programa que receba o nome e a quantidade de XP de um herói e, com base nesse valor, classifique o herói em um dos seguintes níveis:\n\n- Ferro: XP \u003c 1.000\n- Bronze: 1.001 ≤ XP ≤ 2.000\n- Prata: 2.001 ≤ XP ≤ 5.000\n- Ouro: 5.001 ≤ XP ≤ 7.000\n- Platina: 7.001 ≤ XP ≤ 8.000\n- Ascendente: 8.001 ≤ XP ≤ 9.000\n- Imortal: 9.001 ≤ XP ≤ 10.000\n- Radiante: XP \u003e 10.000\n\n## Explicação\n\n- Variáveis: São usadas para armazenar o nome e a quantidade de XP do herói.\n- Estrutura de decisão: Utiliza uma série de if e else if para comparar o valor do XP e definir o nível do herói.\n- Saída: O programa exibe o nome do herói e o nível correspondente.\n\n\n## Licença\n\nEste projeto é de código aberto, sinta-se à vontade para utilizá-lo e melhorá-lo!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flauragabs%2Fclassificarniveldeheroi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flauragabs%2Fclassificarniveldeheroi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flauragabs%2Fclassificarniveldeheroi/lists"}