{"id":28796281,"url":"https://github.com/bocaletto-luca/connect-four","last_synced_at":"2026-04-12T09:02:16.258Z","repository":{"id":295273460,"uuid":"989664663","full_name":"bocaletto-luca/Connect-Four","owner":"bocaletto-luca","description":"Forza 4 Web Game Single Player is a modern Connect Four game built entirely with HTML5, CSS3, and JavaScript. It offers smooth animations, intuitive gameplay, AI challenge with multiple difficulty levels, undo/reset options, and real-time interactivity—all running in your browser. Developed by Bocaletto Luca.","archived":false,"fork":false,"pushed_at":"2025-05-24T15:19:55.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-24T16:36:08.577Z","etag":null,"topics":["boardgame","bocaletto-luca","connect4","connect4-game","connectfour","connectfour-game","css3","forza4","game","html5","javascript","js","json","php","single-player","videogames","web-game"],"latest_commit_sha":null,"homepage":"https://bocaletto-luca.github.io/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bocaletto-luca.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-24T15:13:04.000Z","updated_at":"2025-05-24T15:19:58.000Z","dependencies_parsed_at":"2025-05-24T16:37:35.429Z","dependency_job_id":"d4f0e6cb-b907-4426-8fff-c06a90b0b653","html_url":"https://github.com/bocaletto-luca/Connect-Four","commit_stats":null,"previous_names":["bocaletto-luca/connect-four"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bocaletto-luca/Connect-Four","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FConnect-Four","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FConnect-Four/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FConnect-Four/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FConnect-Four/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bocaletto-luca","download_url":"https://codeload.github.com/bocaletto-luca/Connect-Four/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bocaletto-luca%2FConnect-Four/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260477919,"owners_count":23015068,"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":["boardgame","bocaletto-luca","connect4","connect4-game","connectfour","connectfour-game","css3","forza4","game","html5","javascript","js","json","php","single-player","videogames","web-game"],"created_at":"2025-06-18T03:11:53.666Z","updated_at":"2025-10-28T15:06:55.866Z","avatar_url":"https://github.com/bocaletto-luca.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connect 4 Web Game Single Player\n#### Author: Bocaletto Luca\n\n![HTML5](https://img.shields.io/badge/HTML5-E34F26?logo=html5\u0026style=for-the-badge)\n![CSS3](https://img.shields.io/badge/CSS3-1572B6?logo=css3\u0026style=for-the-badge)\n![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?logo=javascript\u0026style=for-the-badge)\n![WebGame](https://img.shields.io/badge/WebGame-Connect4-blue?style=for-the-badge)\n![Project Completed](https://img.shields.io/badge/Project-Completed-green?style=for-the-badge)\n![GPLv3](https://img.shields.io/badge/License-GPLv3-blue?style=for-the-badge)\n\n## Overview\n\n**Forza 4 Web Game Single Player** is a modern browser-based Connect Four game built entirely with HTML5, CSS3, and JavaScript. Enjoy smooth animations, interactive gameplay, undo/reset features, and a smart AI opponent with three difficulty modes—Easy (for beginners), Medium (a solid challenge) and Hard (for true competition).\n\n## Installation\n\nNo installation is required. Simply serve the files via any HTTP/HTTPS server (e.g., using Apache) and open the `index.html` file in your browser.\n\n## Usage\n\n- **Game Objective:** Drop your discs into the grid to be the first to form a line of four (horizontally, vertically, or diagonally).\n- **Player Options:**  \n  - **Select Color:** Choose whether to play first (Red) or second (Yellow).  \n  - **Choose AI Difficulty:** Pick between Easy, Medium, or Hard—the AI’s search depth adjusts accordingly.\n  - **Set Game Time:** (Optional) Adjust the time available per game.\n- **Gameplay:** Click on a column to drop your disc. Enjoy smooth drop animations and interactive feedback.\n- **Undo/Reset:** Use the Undo button to cancel the last move or Reset Game to start over.\n\n## Technologies Used\n\n- **HTML5** – Structure of the web app.\n- **CSS3** – Styling and responsive design.\n- **JavaScript** – Game logic, animations, and AI.\n- **Custom Connect Four Engine** – Implements game rules and a minimax/alpha‑beta pruning AI.\n- **Bootstrap 5** – For modern and responsive UI components.\n\n## License\n\nThis project is released under the [GPLv3 License](https://www.gnu.org/licenses/gpl-3.0.en.html).\n\n## Author\n\n**Bocaletto Luca**  \n[GitHub](https://bocaletto-luca.github.io) • [Official Site](https://bocalettoluca.altervista.org)\n\n---\n\nEnjoy the game and feel free to report any issues or suggest improvements!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbocaletto-luca%2Fconnect-four","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbocaletto-luca%2Fconnect-four","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbocaletto-luca%2Fconnect-four/lists"}