Skip to content

marcozan93/ConnectFour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConnectFour game in Java

This is a simple implementation of the ConnectFour game in Java which allows to practice the principles of object-oriented programming. This project has been documented as part of a post on Medium which can be accessed here. The post includes additional details about the project and its implementation, including the UML diagram.

How to play

The game is played between two players, a human player and a "smart" robot.

The interface includes a 6x7 board with "Drop" buttons on top of each column which allow the human player to drop its token in the specified column by clicking on the "Drop" button.

The aim of the game is to connect four tokens either vertically, horizontally or diagonally.

img.png

How to run

The game can be run by cloning this repository and running the Play.java file

In addition, a .dmg file is available for macOS users, which should allow to install the game on your local machine as any other macOS application. Further details about this process are presented in the Medium post https://medium.com/@marcozaninitaly/connect4-game-using-java-4b5cc0a9f0b2.

About

ConnectFour game in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages