Skip to content

stantheblan/connectFour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

connectFour - stantheblan

PerScholas / Project 1


Game functions:

  • Two player game
  • Blue is Player 1
  • Red is Player 2
  • Each player takes turns to try to connect 4 pieces of their color together in the different slots.
  • This checks horizontally, vertically, diagonal left, and diagonal right.

To play the game

  • Navigate to https://stantheblan.github.io/connectFour/ Game Board
  • Hover the top row of the game board to visualize where you would like to place your piece. Hover
  • Click the column you want your piece. Gameplay
  • Changes players, as indicated by the color of the 'Connect 4' above the board.
    Blue Red
  • Once won, an alert is displayed and no user input is allowed. Player 1 wins Player 2 wins
  • To reset the game, click the 'Reset' button.
    Reset button

Built with:

  • JS
  • CSS
  • HTML5


About

A DOM based Connect Four game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published