Skip to content

Connect4 game made with JS using Canvas (School project from June 2017)

Notifications You must be signed in to change notification settings

Gholgot/connect4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Connect4

is a JQuery Plugin for a canvas element which turns it into a Connect4 game. (School project from June 2017)

/* Select your canvas by Id
 If no object is given to the p4 function it will use the following params as defaults :

{
    color_player: {
        p1: "red",
        p2: "yellow"
    },
    size: {
        0: 10,
        1: 10,
        width: 800,
        height: 500
    },
    man: {
        0: true
    }
}

*/

$("#game").p4();

Features:

  • Grid Size
  • Number of holes in grid
  • Players Color

About

Connect4 game made with JS using Canvas (School project from June 2017)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published