{"id":21376070,"url":"https://github.com/lessmore92/php-race-game","last_synced_at":"2025-03-16T09:42:33.517Z","repository":{"id":226750732,"uuid":"769556989","full_name":"lessmore92/php-race-game","owner":"lessmore92","description":"CLI-Based Two-Player Vehicle Racing Game in PHP","archived":false,"fork":false,"pushed_at":"2024-03-09T22:18:28.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T21:42:43.676Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/lessmore92.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}},"created_at":"2024-03-09T12:17:24.000Z","updated_at":"2024-10-10T09:17:12.000Z","dependencies_parsed_at":"2024-03-09T13:27:05.607Z","dependency_job_id":"743cd953-0604-46e9-ab7d-1eceaa061751","html_url":"https://github.com/lessmore92/php-race-game","commit_stats":null,"previous_names":["lessmore92/php-race-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lessmore92%2Fphp-race-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lessmore92%2Fphp-race-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lessmore92%2Fphp-race-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lessmore92%2Fphp-race-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lessmore92","download_url":"https://codeload.github.com/lessmore92/php-race-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852437,"owners_count":20358270,"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":"2024-11-22T09:13:40.245Z","updated_at":"2025-03-16T09:42:33.487Z","avatar_url":"https://github.com/lessmore92.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI-Based Two-Player Vehicle Racing Game in PHP\n\n## Installation\n```shell\ncomposer install\n```\n\n## How To Start\n\nStart the game:\n```shell\nphp index.php\n```\n\n### Sample out-put\n```shell\nWelcome to the PHP Racing Game!\nPlease select a vehicle for each player from the list below:\n1. Car - 150 km/h\n2. Motorcycle - 200 km/h\n3. Bus - 100 km/h\n4. Bicycle - 30 km/h\n5. Jet Ski - 50 km/h\n6. Speed Boat - 70 km/h\n7. Yacht - 20 km/h\n8. Helicopter - 140 km/h\n9. Airplane - 485 km/h\n10. Hot Air Balloon - 5 km/h\nWhat is the distance of the race track? [200]: 400\nPlayer 1, enter the number of your vehicle: 4\nPlayer 2, enter the number of your vehicle: 5\n\n\nThe race distance is 400 km\nThe race results are:\n\nPlace 1: Player 2 (Jet Ski) - 8 hours\nPlace 2: Player 1 (Bicycle) - 13.33 hours\n\nThe winner is Player 2 (Jet Ski)!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flessmore92%2Fphp-race-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flessmore92%2Fphp-race-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flessmore92%2Fphp-race-game/lists"}