Skip to content

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.

License

Notifications You must be signed in to change notification settings

bocaletto-luca/Connect-Four

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect 4 Web Game Single Player

HTML5 CSS3 JavaScript WebGame Project Completed GPLv3

Overview

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).

Installation

No 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.

Usage

  • Game Objective: Drop your discs into the grid to be the first to form a line of four (horizontally, vertically, or diagonally).
  • Player Options:
    • Select Color: Choose whether to play first (Red) or second (Yellow).
    • Choose AI Difficulty: Pick between Easy, Medium, or Hard—the AI’s search depth adjusts accordingly.
    • Set Game Time: (Optional) Adjust the time available per game.
  • Gameplay: Click on a column to drop your disc. Enjoy smooth drop animations and interactive feedback.
  • Undo/Reset: Use the Undo button to cancel the last move or Reset Game to start over.

Technologies Used

  • HTML5 – Structure of the web app.
  • CSS3 – Styling and responsive design.
  • JavaScript – Game logic, animations, and AI.
  • Custom Connect Four Engine – Implements game rules and a minimax/alpha‑beta pruning AI.
  • Bootstrap 5 – For modern and responsive UI components.

License

This project is released under the GPLv3 License.

Author

Bocaletto Luca
GitHubOfficial Site


Enjoy the game and feel free to report any issues or suggest improvements!

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published