Skip to content

Connect Four is a two-player strategy game. Players take turns dropping colored discs into a vertical grid. The goal is to connect four of your own discs in a row - vertically, horizontally, or diagonally - before your opponent does. The game requires tactical thinking to block your opponent while setting up your own winning moves.

Notifications You must be signed in to change notification settings

Abhii200/Connect-Four

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Connect Four

Description

Connect Four is a classic two-player strategy game implemented as a web-based application. Players take turns dropping colored discs into a vertical grid, aiming to connect four of their discs in a row before their opponent.

Features

  • 4x4 game board
  • Two-player gameplay (Red vs Purple)
  • "New Game" button to restart
  • "Suggest" button for move recommendations
  • Win detection and display

How to Play

  1. Open the game in a web browser
  2. Players alternate turns, clicking on a column to drop their disc
  3. First player to connect four discs in a row (vertically, horizontally, or diagonally) wins
  4. Click "New Game" to start over

Technical Details

  • Built with React.js
  • Responsive design for various screen sizes

Game Link

https://fretful-effect.surge.sh/

About

Connect Four is a two-player strategy game. Players take turns dropping colored discs into a vertical grid. The goal is to connect four of your own discs in a row - vertically, horizontally, or diagonally - before your opponent does. The game requires tactical thinking to block your opponent while setting up your own winning moves.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published