Skip to content

keanec27/Connect4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Connect Four Java Program

Two players take turns dropping colored discs into a vertical grid, aiming to connect four of their discs horizontally and vertically.

Features

  • Two-player Connect Four gameplay.
  • Board representation and visualization.
  • Turn handling and player input.
  • Win detection logic.

Running the Program

  1. Clone this repository.
  2. Open a terminal in the project directory.
  3. Compile and run the program using your preferred Java compiler (e.g., javac Connect4.java and then java Connect4).

Note: This is a basic implementation and may not include features like AI opponents or a graphical interface.

Feel free to contribute or extend this program!

About

Connect 4 using object oriented programming concepts and java swing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages