{"id":19370248,"url":"https://github.com/thesaltree/connect4","last_synced_at":"2025-02-24T14:23:01.755Z","repository":{"id":233283609,"uuid":"783718237","full_name":"thesaltree/Connect4","owner":"thesaltree","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-14T12:48:16.000Z","size":1204,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-06T23:49:29.826Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/thesaltree.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-04-08T12:43:43.000Z","updated_at":"2024-04-14T12:50:10.000Z","dependencies_parsed_at":"2024-04-15T13:25:45.399Z","dependency_job_id":"b77f94f8-e47d-411f-ad92-5b185ec193fc","html_url":"https://github.com/thesaltree/Connect4","commit_stats":null,"previous_names":["thesaltree/connect4"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesaltree%2FConnect4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesaltree%2FConnect4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesaltree%2FConnect4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thesaltree%2FConnect4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thesaltree","download_url":"https://codeload.github.com/thesaltree/Connect4/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240492274,"owners_count":19810059,"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-10T08:14:43.007Z","updated_at":"2025-02-24T14:23:01.736Z","avatar_url":"https://github.com/thesaltree.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connect 4 Game\n\n## Introduction\n\nThis Connect 4 game is a web-based implementation in React Native. It offers a classic gaming experience where players take turns dropping colored discs into a grid with the goal of connecting four of their own discs vertically, horizontally, or diagonally.\n\n## Features\n\n- **Two-player mode:** Play against a friend on the same device.\n- **Single-player mode:** Challenge an AI opponent.\n\n1. **Setup:**\n   - Clone the repository and run `npm run web`\n   - Choose mobile mode from your browsers developers tools\n   - Choose the desired game mode (2 players or 1 player vs. AI).\n\n2. **Gameplay:**\n   - Click on a column to drop your disc into it.\n   - The disc will fall to the lowest available position within the column.\n   - The game alternates between players until a winner is determined or the board is filled.\n\n3. **Winning:**\n   - Connect four discs of the same color vertically, horizontally, or diagonally to win.\n   - If the board fills up without a winner, the game ends in a draw.\n  \n## Contributions\n\nContributions to this project are welcome. If you have suggestions for improvements or would like to report a bug, please open an issue or submit a pull request on GitHub.\n\n## License\n\nThis Connect 4 game is licensed under the [MIT License](LICENSE). You are free to use, modify, and distribute the game for personal and non-commercial purposes.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesaltree%2Fconnect4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthesaltree%2Fconnect4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesaltree%2Fconnect4/lists"}