{"id":26772685,"url":"https://github.com/exclowd/gg","last_synced_at":"2026-05-18T06:02:24.700Z","repository":{"id":49411776,"uuid":"349641253","full_name":"exclowd/gg","owner":"exclowd","description":"A library for creating terminal based games in python.","archived":false,"fork":false,"pushed_at":"2021-08-04T05:04:48.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-20T00:04:21.338Z","etag":null,"topics":["numpy","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/gg-abakfja/","language":"Python","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/exclowd.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}},"created_at":"2021-03-20T05:58:25.000Z","updated_at":"2021-08-04T05:04:51.000Z","dependencies_parsed_at":"2022-09-16T23:52:27.664Z","dependency_job_id":null,"html_url":"https://github.com/exclowd/gg","commit_stats":null,"previous_names":["kannavkm/gg","abakfja/gg","exclowd/gg"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/exclowd/gg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exclowd%2Fgg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exclowd%2Fgg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exclowd%2Fgg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exclowd%2Fgg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exclowd","download_url":"https://codeload.github.com/exclowd/gg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exclowd%2Fgg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33167429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"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":["numpy","python"],"created_at":"2025-03-29T01:17:22.992Z","updated_at":"2026-05-18T06:02:24.494Z","avatar_url":"https://github.com/exclowd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gg : A library for terminal based games.\n\n`GG` is a library for creating terminal based games in python. \nComplete with an abstraction over handling the terminal, you can decalare objects\nand place then anywhere over the terminal area. There is a complete sample of a brick\nbreaker game provided. However this does not rely on any curses implementation, so some features may be missing.\n\n## Major classes\nThe following interfaces have been created. `Scene` class helps to abstract a layout\nas it maintains ownership of all the objects. A typical usage for a `Scene` might be analogous to \nthat of a level. The Base class that can be added to a `Scene` is that of `Entity`. \n\n## Documentation\n![class diagram](https://i.imgur.com/qaYpdbd.png)\n### `Color`\nThe Color class support `256*256*256` color values.\n### `Scene`\nThe `Scene` base class acts as a controller for all the objects to be displayed on a screen.\nA game may contain multiple scenes, Eg. One for the HUD and one for the actual gameplay. Scenes may overlap.\n### Surface\nThe `Surface` class refers to a rectangle to be blitted onto the screen\n### Sprite\nThe `Sprite` class contstrains the `Surface` class with a predefined sprite layer for each of the characters.\n\n## Installation\nUse pip to install\n```bash\npip install gg-abakfja\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexclowd%2Fgg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexclowd%2Fgg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexclowd%2Fgg/lists"}