Skip to content

This is a Console-Based Hand-Cricket Game built using Java, OOPs concepts, and Data Structures. The game is based on the popular cricket game that is played in India and other cricket-loving countries.

Notifications You must be signed in to change notification settings

Utkarsh-Technical/Console-based-Hand-Cricket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hand Cricket

This is a simple Hand-Cricket Game that was built using Java, OOPs concepts, and Data Structures. The game is based on the popular cricket game that is played in India and other cricket-loving countries.

Feature

  • The game is played between two players, one of whom is the bowler and the other is the batsman.
  • The bowler bowls a ball, and the batsman tries to score runs by hitting the ball with his/her hand.
  • The game has several levels, each with a different number of overs and target scores.
  • The game uses object-oriented programming concepts to create classes for the game, players, overs, and runs.
  • The game also uses data structures such as arrays and lists to store and manipulate the game data.

Getting Started

To run the game on your local machine, follow these steps:

  1. Clone the repository to your local machine:
git clone https://github.com/Utkarsh-Technical/handCricket.git
  1. Compile the game code:
javac HandCricket.java 
  1. Run the game:
java HandCricket 
  1. Follow the on-screen instructions to play the game.

Acknowledgments

  • This project was inspired by the popular hand-cricket game played in India and other cricket-loving countries.
  • The game uses object-oriented programming concepts and data structures to create a simple, yet fun game.
  • The console-based interface makes the game accessible to players who do not have access to a graphical user interface.

Structure of Code

GIF

About

This is a Console-Based Hand-Cricket Game built using Java, OOPs concepts, and Data Structures. The game is based on the popular cricket game that is played in India and other cricket-loving countries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages