{"id":16490356,"url":"https://github.com/sleepymalc/parkinglot","last_synced_at":"2025-10-27T20:31:35.558Z","repository":{"id":50884881,"uuid":"352602082","full_name":"sleepymalc/ParkingLot","owner":"sleepymalc","description":"🚗 Start Parking! Watch Out! ⚠️","archived":true,"fork":false,"pushed_at":"2022-08-02T09:06:46.000Z","size":354,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T03:16:06.350Z","etag":null,"topics":["cpp","object-oriented-programming","opengl"],"latest_commit_sha":null,"homepage":"","language":"C++","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/sleepymalc.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}},"created_at":"2021-03-29T10:23:34.000Z","updated_at":"2024-12-02T07:15:27.000Z","dependencies_parsed_at":"2022-08-25T15:01:33.916Z","dependency_job_id":null,"html_url":"https://github.com/sleepymalc/ParkingLot","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleepymalc%2FParkingLot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleepymalc%2FParkingLot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleepymalc%2FParkingLot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sleepymalc%2FParkingLot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sleepymalc","download_url":"https://codeload.github.com/sleepymalc/ParkingLot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238553152,"owners_count":19491381,"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":["cpp","object-oriented-programming","opengl"],"created_at":"2024-10-11T13:47:46.721Z","updated_at":"2025-10-27T20:31:30.209Z","avatar_url":"https://github.com/sleepymalc.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parking Lot\n\n\u003cp align=\"center\"\u003e\u003cb\u003e\u003ci\u003e\n\t🚗 Start Parking! Watch Out! ⚠️\n\u003c/i\u003e\u003c/b\u003e\u003c/p\u003e\n\n## Abstract\n\nInstead of making a boring animation, we make it into a game features with\n\n1. Lovely drawings of UFOs and rockets, etc.\n2. Teleport can transform into polygons with a different number of sides and change color during the transformation.\n3. To make it more fun, we make it an interactive game, see the [game rules](#rules) below.\n\n## Launch\n\nTo compile, you simply run `make` and get the executable named `parkinglot`. Now, you just simply run `./parkinglot` and you can start playing!\n\n## Rules\n\nThe player will control a rocket, which appears in a random teleport at the beginning, and your goal is to destroy all the vehicles before they all have parking. In detail,\n\n1. Your initial position is at a random teleport.\n2. If more than three vehicles are parked successfully, you lose.\n3. If your rocket bumps into another vehicle, it will collapse, and you lose.\n4. You can only leave less than three vehicles parked successfully, or you lose.\n\n## Control\n\n- Move: `w` (up), `a` (turn left), `s` (down), `d` (turn right).\n- Shoot: `space` (to shoot a laser with delay)\n\n## Else\n\nWe also include the [source code](./ParkingLotManager.cpp) of the first part of the project.\n\nFor the game (second part) itself, something is worth noting since we did not strictly follow the project instruction:\n\n1. Our Rocket doesn't zoom in and out, instead, we zoom in and out of the flames to make it more real.\n2. Our car is replaced with a cute cart, and the flag is replaced with a windmill.\n\n## About Honor Code\n\nAccording to the SJTU student handbook (2019 version),\n\n\u003e It is a violation of the Honor Code for students to submit, as their own, work that is not the result of their own labor and thoughts. This applies, in particular, to ideas, expressions or work obtained from other students as well as from books, the internet, and other sources. The failure to properly credit ideas, expressions or work from others is considered plagiarism.\n\n## Contribution\n\n\u003cp align=\"center\"\u003e\u003cb\u003e\u003ci\u003e\n\tYuyang Chen, Pingbang Hu\n\u003c/i\u003e\u003c/b\u003e\u003c/p\u003e\n\n---\n\nThe works are partially contributed by some other students, TAs, and professors, which would be listed if known.\n\u003e If you find any problems in the repository, welcome to make an issue or pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleepymalc%2Fparkinglot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsleepymalc%2Fparkinglot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleepymalc%2Fparkinglot/lists"}