Skip to content

Web application for the Connect Four game using JSP and Java Servlets

Notifications You must be signed in to change notification settings

sunny8751/ConnectFour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConnectFour

Web application for the Connect Four game using HTML, CSS, JSP, and Java Servlets technologies, with Heroku as the cloud deployment server.

Playable here: https://afternoon-inlet-71999.herokuapp.com

This game allows the player to play against an AI of varying difficulty. The Medium and Hard difficulties were programmed using the minimax algorithm, commonly used in game theory to think of all the game's possibilities multiple steps in advance.

These are the different difficulties:

Easy difficulty- computer makes random moves

Medium difficulty- computer attempts to block basic attempts to win while also trying to win itself

Hard difficulty- computer actively predicts how the player will try to win and blocks these attempts, while also trying to win itself

Screenshot 1 Screenshot 2 Screenshot 3

Releases

No releases published

Packages

No packages published

Languages