Skip to content

davebenner14/projectConnect4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect Four

projectConnect4

General Overview

Connect Four is a two-player connection board game, in which the players choose a color and then take turns dropping colored tokens into a seven-column, six-row vertically suspended grid. The pieces fall straight down, occupying the lowest available space within the column. The objective of the game is to be the first to form a horizontal, vertical, or diagonal line of four of one's own tokens. Connect Four is a solved game. The first player can always win by playing the right moves.

The game was first sold under the Connect Four trademark by Milton Bradley in February 1974.

Picture of Game

Controls

This version of Connect Four is a point and click version. It is on a 4x4 grid. All playable columns will be highlighted in grey, and when a column is clicked, your playing piece will automatically be placed at the bottom of the corresponding column. If a column is full, an alert message will inform you of such. If there is a winner or tie, there will be an alert message as well. There is also a "restart button" available.

Winning Message:
Winning Message

Highlighted Column
Highlighted Column

Column is full
"Column is full" message

Tie Game
"Game has ended in a tie" message

There are two features to inform the user(s) whose turn it is.
  1. Text written at the lower part of the screen.
  2. A circular display piece above the board that shows whether it is "yellow" or "red's" turn.

Red's turn Yellow's turn

Getting Started

projectConnect4

The Team

David Benner

About the Project This is my first project at the General Assembly software engineering boot camp where we are making a web game. The purpose of this project is to demonstrate and practice our newly learned skills from Unit 1: HTML, CSS, and JavaScript.

Connect Four was built in one week.

Built With: HTML/CSS JavaScript Icebox 🍦 User

  • Allow users to play against AI
  • Expandable board - have users be able to pick the size of their board
  • Allow users to keep scores of games played Code

Dynamic code so that expanding the board can be more seamless "Restart button" to wipe data instead of refreshing the page

Brought to you by: DAVID∞BENNER

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages