GithubHelp home page GithubHelp logo

sai4ul / games-javascript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jmrashed/rashed-games-javacript

0.0 0.0 0.0 2.68 MB

Rashed's Game using HTML, CSS, and JavaScript

Home Page: https://jmrashed-game.vercel.app

JavaScript 45.83% CSS 20.33% HTML 33.84%

games-javascript's Introduction

Connect Four Game using HTML, CSS, and JavaScript

A simple web-based implementation of the classic Connect Four game using HTML, CSS, and JavaScript.

Screenshot 1

Screenshot 2

Live

Demo Link: https://jmrashed-game.vercel.app/

How to Play

  1. Open the index.html file in a web browser to start the game.

  2. Players take turns dropping their pieces into the columns of the game board.

  3. The first player to connect four of their pieces vertically, horizontally, or diagonally wins the game.

  4. Click on any column to drop a piece. The piece will fall to the lowest available position in the column.

  5. The game ends when one player wins or the entire board is filled with pieces.

Features

  • Two-player gameplay.
  • Visual indication of player turns using red and yellow pieces.
  • Dynamic game board that updates with each move.
  • Win detection for vertical, horizontal, and diagonal connections of four pieces.
  • Prevents further moves once a player wins.

Technologies Used

  • HTML: Structure of the game board and user interface.
  • CSS: Styling and visual presentation of the game.
  • JavaScript: Game logic, interactivity, and win detection.

Acknowledgments

This Connect Four game is inspired by the classic board game. It was developed as a simple project to practice web development skills.

Author

Developed By Md Rasheduzzaman

License

This project is licensed under the MIT License.

games-javascript's People

Contributors

jmrashed avatar sai4ul avatar xodortech avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.