Code Monkey home page Code Monkey logo

itsindrajput / crickplay Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 795 KB

CricPlay is a lightweight and entertaining JavaScript-based cricket game that brings the spirit of cricket to your fingertips. Make strategic decisions by choosing between bat, ball, and wicket, and face off against the computer in a game of chance and skill.

Home Page: https://itsindrajput.github.io/crickplay/

CSS 29.05% HTML 39.29% JavaScript 31.66%
cricket css3 html5 javascript play-game bat-ball-wicket

crickplay's Introduction

crickplay ๐Ÿ

Welcome to cricplay, where the thrill of cricket meets the excitement of a quick and simple gaming experience!๐ŸŽฎ This game allows users to make a choice between bat, ball, and wicket, and the computer will randomly make its choice. The result of the match will be displayed on the screen, indicating whether the user won, lost, or it's a tie.

Explore These Live Links Of My crickplay Webapp:

Introduction ๐Ÿš€

Crickplay is a lightweight and entertaining JavaScript-based cricket game that brings the spirit of cricket to your fingertips. Experience the excitement of the game by making strategic choices - whether to bat, ball, or take a crucial wicket. The computer responds with its move, and the result unfolds on the screen. Simple yet engaging, crickplay is designed for quick gameplay, making it an ideal choice for cricket enthusiasts and casual gamers alike. Immerse yourself in the world of cricket with this interactive and fun gaming experience!

Whether you're a cricket enthusiast or just looking for a fun and casual game, crickplay offers a delightful way to enjoy the essence of cricket in a few clicks. The game is designed to be easy to play, yet challenging enough to keep you engaged. Get ready to experience the joy of cricket through a unique and interactive gaming interface. Lace up your virtual cricket shoes, grab your virtual bat, and let the games begin!

Game Rules ๐Ÿ•น๏ธ

How to Play: ๐Ÿคพโ€โ™‚๏ธ

  • You have three choices: Bat ๐Ÿ, Ball โšพ, and Wicket โ˜๏ธ.
  • Click on the corresponding button to make your choice.

Winning Scenarios: ๐ŸŽ‰

  1. If you choose Bat:

    • If the computer also chooses Bat, it's a Tie.
    • If the computer chooses Ball, you Win!
    • If the computer chooses Wicket, you Lose.
  2. If you choose Ball:

    • If the computer also chooses Ball, it's a Tie.
    • If the computer chooses Bat, the computer Wins.
    • If the computer chooses Wicket, you Win!
  3. If you choose Wicket:

    • If the computer also chooses Wicket, it's a Tie.
    • If the computer chooses Bat, you Win!
    • If the computer chooses Ball, the computer Wins.

Results: ๐ŸŽฏ

  • After each round, the game will display the result.
  • Your goal is to have more wins than the computer.

Additional Actions: ๐ŸŒŸ

  • Use the Reset button to clear the score.
  • Click the Info button for a quick reminder of the game rules.

Getting Started ๐ŸŽฎ

  1. Clone the repository to your local machine:

    git clone https://github.com/itsindrajput/crickplay.git
  2. Open the index.html file in your preferred web browser.

  3. Choose your move by clicking on one of the buttons:

    • Bat ๐Ÿ: To make a batting move.
    • Ball โšพ: To make a bowling move.
    • Wicket โ˜๏ธ: To make a wicket-taking move.
  4. The computer will randomly make its move. ๐Ÿค–

  5. The result of the match will be displayed on the screen.

Technologies Used ๐Ÿ’ป

  • HTML
  • CSS
  • JavaScript

Contributing ๐Ÿค

If you have suggestions, bug reports, or want to contribute to the project, feel free to open an issue or create a pull request. Contributions are welcome! ๐ŸŽ‰

Interactive Showcase ๐ŸŽจ

Curious about how we brought this amazing demo to life? Look no further!

crickplay

Enjoy the game and have fun playing CrickPlay! ๐ŸŽŠ

crickplay's People

Contributors

itsindrajput avatar

Watchers

 avatar  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.