{"id":19872000,"url":"https://github.com/ranagaballah/connectfour_python_with_gui","last_synced_at":"2025-08-04T04:33:34.132Z","repository":{"id":168128101,"uuid":"642990072","full_name":"RanaGaballah/ConnectFour_Python_With_GUI","owner":"RanaGaballah","description":"USing Pygame","archived":false,"fork":false,"pushed_at":"2023-05-19T22:50:22.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T13:08:39.362Z","etag":null,"topics":["connect-four","gui","minimax-algorithm","minimax-alpha-beta-pruning","pygame","python"],"latest_commit_sha":null,"homepage":"https://www.linkedin.com/posts/rana-gaballah-9a5299219_connect4-python-pygame-activity-7065453757207068672-iJV4?utm_source=share\u0026utm_medium=member_desktop","language":"Python","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/RanaGaballah.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,"publiccode":null,"codemeta":null}},"created_at":"2023-05-19T20:19:35.000Z","updated_at":"2023-05-22T04:18:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"f615d6ce-946a-4d6c-8a76-f08c1564a710","html_url":"https://github.com/RanaGaballah/ConnectFour_Python_With_GUI","commit_stats":null,"previous_names":["ranagaballah/connectfour_python_with_gui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RanaGaballah/ConnectFour_Python_With_GUI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RanaGaballah%2FConnectFour_Python_With_GUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RanaGaballah%2FConnectFour_Python_With_GUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RanaGaballah%2FConnectFour_Python_With_GUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RanaGaballah%2FConnectFour_Python_With_GUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RanaGaballah","download_url":"https://codeload.github.com/RanaGaballah/ConnectFour_Python_With_GUI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RanaGaballah%2FConnectFour_Python_With_GUI/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268649793,"owners_count":24284194,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"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":["connect-four","gui","minimax-algorithm","minimax-alpha-beta-pruning","pygame","python"],"created_at":"2024-11-12T16:14:14.393Z","updated_at":"2025-08-04T04:33:34.082Z","avatar_url":"https://github.com/RanaGaballah.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Certainly! Here's an example of a README file for the ConnectFour_Python_With_GUI repository:\n\n# Connect Four Python Game with GUI\n\nThis repository contains a Connect Four game implemented in Python with a graphical user interface (GUI).\n\n\n## Features\n\n- Play Connect Four against a computer opponent.\n- Interactive GUI for an intuitive gaming experience.\n- Customizable difficulty levels.\n- Win detection and game over condition.\n- Simple and clean user interface.\n\n## Getting Started\n\n### Prerequisites\n\n- Python 3.x\n- numpy library \n- pygame library \n\n### library Installation\n\n```\npip install numpy\n```\n\n```\npip install pygame\n```\n\n### Installation\n\n1. Clone the repository:\n\n```\ngit clone https://github.com/RanaGaballah/ConnectFour_Python_With_GUI.git\n```\n\n2. Navigate to the project directory:\n\n```\ncd ConnectFour_Python_With_GUI\n```\n\n### Usage\n\nRun the `connect_four.py` file to start the game:\n\n```\npython connect_four.py\n```\n\nFollow the on-screen instructions to play the game. Use the mouse to select a column for your move.\n\n### Game Rules\n\n- The objective of the game is to connect four of your own pieces in a row, column, or diagonal before your opponent does.\n- Players take turns dropping their colored discs into a grid.\n- The discs will fall down to the lowest available position within the selected column.\n- The game continues until one player wins or the board is full (resulting in a draw).\n\n## Contributing\n\nContributions to this project are welcome. Here are a few ways you can contribute:\n\n- Report bugs or suggest improvements by opening a GitHub issue.\n- Fork the repository and submit a pull request with your enhancements.\n- Share the game and give it a star if you find it useful.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Acknowledgments\n\n- The game logic and AI algorithm are based on the work of [Rana Gaballah](https://github.com/RanaGaballah).\n- Special thanks to the creators and maintainers of the Tkinter library for providing a simple and powerful GUI toolkit for Python.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franagaballah%2Fconnectfour_python_with_gui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Franagaballah%2Fconnectfour_python_with_gui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franagaballah%2Fconnectfour_python_with_gui/lists"}