Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🎮 Two-Player Mastermind Game

A simple command-line Python game where two players compete by setting secret numbers and guessing each other's numbers.

Features

  • Two-player gameplay
  • Input validation
  • Guess counter
  • Winner announcement
  • Clean console interface

Requirements

  • Python 3.x

How to Run

python python_game.py

Game Rules

  1. Player 1 sets a secret number.
  2. Player 2 guesses it.
  3. Player 2 then sets a secret number.
  4. Player 1 guesses it.
  5. The player with the fewest attempts wins.

Technologies Used

  • Python
  • Command Line Interface (CLI)

Author

Pragati Singhal

About

A Python command-line Mastermind game for two players with input validation and score tracking.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages