{"id":21835494,"url":"https://github.com/plopezgit/sprint3_level_test_check","last_synced_at":"2025-03-21T14:23:32.249Z","repository":{"id":207783136,"uuid":"719039395","full_name":"plopezgit/Sprint3_Level_Test_Check","owner":"plopezgit","description":"Level check by IT Academy","archived":false,"fork":false,"pushed_at":"2023-11-19T23:41:05.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T10:07:42.151Z","etag":null,"topics":["exam","java","java-learning","java-library","level-test"],"latest_commit_sha":null,"homepage":"https://www.barcelonactiva.cat/es/itacademy","language":"Java","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/plopezgit.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}},"created_at":"2023-11-15T10:19:03.000Z","updated_at":"2023-11-15T13:53:17.000Z","dependencies_parsed_at":"2023-11-19T18:44:47.655Z","dependency_job_id":null,"html_url":"https://github.com/plopezgit/Sprint3_Level_Test_Check","commit_stats":null,"previous_names":["plopezgit/sprint3_level_test_check"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint3_Level_Test_Check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint3_Level_Test_Check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint3_Level_Test_Check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint3_Level_Test_Check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plopezgit","download_url":"https://codeload.github.com/plopezgit/Sprint3_Level_Test_Check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244811972,"owners_count":20514381,"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":["exam","java","java-learning","java-library","level-test"],"created_at":"2024-11-27T20:21:28.643Z","updated_at":"2025-03-21T14:23:32.212Z","avatar_url":"https://github.com/plopezgit.png","language":"Java","readme":"# Sprint3_T4_Level_Test_Check\n\n\nNos piden que programemos los NPCs de un juego de rol. \n\nExisten tres categorías de NPCs: Campesino, Ladrón y Mercader. \n\nTodos ellos venden ítems. \n\nEl campesino tiene hasta 5 ítems para vender y al precio original le agrega un impuesto del 2%. \n\nEl ladrón, hasta 3 y no cobra impuestos. \n\nEl mercader, hasta 7 y cobra un 4% de impuestos.\n \nCada NPC está ubicado en una ciudad.\n\nLos ítems tienen un nombre, un tipo, un precio y porcentaje de desgaste. \n\nCuando un ladrón agrega un ítem a su inventario este se deteriora un 25%. \n\nCuando lo hace un campesino, un 15%. \n\nEn cambio, un mercader conoce muy bien cómo guardar sus ítems para que no se estropeen. \n\nLa aplicación permite:\n\n1- Consultar los los ítems de un vendedor.\n2- Consultar los vendedores que hay en una ciudad.\n3- Mostrar el ítems más barato de todos los vendedores de una ciudad\n4- Mostrar todos los ítems de un determinado tipo ordenados por precio (asc).\n5- Simular la compra de un ítem a un NPC.\n6- Simular la venta de un ítem a un NPC.*\n7- Serializar en un fichero JSON la información de cada NPC (categoría, ubicación, items: nombre, tipo, precio, desgaste..)\n\n\nSi se intenta agregar más ítems de los que un NPC puede vender una excepción mostrará el MENSAJE:\"[Inventario lleno!- El vendedor no puede comprar el ítem].\".","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplopezgit%2Fsprint3_level_test_check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplopezgit%2Fsprint3_level_test_check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplopezgit%2Fsprint3_level_test_check/lists"}