tanvin33 / connect-four

A simple connect four game created using the p5 library in javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connect Four

A simple p5 game based on the popular board game Connect Four

How to Play

The circle coin at the top's color represents whose turn it is to play.

When it is your turn, click above the column you want to place your token in and it will fall down!

The computer will automatically figure out who wins and will keep track of who has the most wins (red or yellow) in one playing session.

Play here:

https://connect-four-v2-tn.glitch.me

Files:

← README.md

That's this file, which explains the different components of the website

← index.html

This is the html page which hosts the game and the p5 canvas.

← script.js

This adds interactivity to the connect four game using a p5 canvas (p5 library)

← assets

Incudes assets, like images or music, that are used in this project! There are no assets for this project

Creator

Created by Tanvi Namjoshi as a project during Google CSSI 2020: Online

Glitch

Made using Glitch

Click Show in the header to see your app live. Updates to your code will instantly deploy and update live.

Glitch is the friendly community where you'll build the app of your dreams. Glitch lets you instantly create, remix, edit, and host an app, bot or site, and you can invite collaborators or helpers to simultaneously edit code with you.

Find out more about Glitch.


\ ゜ o ゜)ノ

About

A simple connect four game created using the p5 library in javascript


Languages

Language:JavaScript 92.5%Language:HTML 7.5%