Skip to content

MustafaMunir123/Sudoku_cli-based-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku Game v1.0.0

Welcome to the Sudoku Game v1.0.0! 🎉

Introduction

This is an interactive Sudoku game implemented in C++. It allows multiple players to play Sudoku on a 9x9 grid and compete for the highest score. Get ready to test your Sudoku-solving skills and have fun with your friends!

Features

✨ Supports 1 to 4 players
✨ Each player has 3 attempts to complete the Sudoku grid
✨ Validates the correctness of the Sudoku board
✨ Tracks and displays player scores
✨ Determines the winner based on the highest score

Getting Started

To compile and run the Sudoku game, follow these steps:

  1. Make sure you have a C++ compiler installed on your system.
  2. Clone this repository or download the source code files.
  3. Open a terminal or command prompt and navigate to the project directory.
  4. Compile the program by executing the following command:
    g++ main.cpp game.cpp users.cpp sudoku.cpp -o program
    
  5. Run the program by executing the following command:
    ./program
    

How to Play

🎮 Upon starting the game, enter the number of players (1-4) and provide their names.

🧩 The Sudoku board will be displayed, and players will take turns entering numbers.

🔢 Select a row (1-9) and column (1-9) to place a number in the corresponding cell.

💡 Enter a number from 1 to 9 to fill in the empty cell.

✅ The game will validate the move and update the player's score accordingly.

⌛ Players have three attempts to complete the Sudoku grid correctly.

🏆 The game ends when all players have exhausted their attempts.

🎉 The winner is determined based on the highest score achieved.

About

This Sudoku game was developed by Mustafa Munir , student from NED University's Department of Computer Science. The goal was to create an engaging and challenging game that showcases their programming skills.

🌟 Hope you enjoy playing Sudoku and have a great time with your friends! If you encounter any issues or have suggestions for improvement, please feel free to reach out.

Version History

  • v1.0.0: Initial release

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute the code for personal or educational purposes.

🔗 For more information and updates, visit the Sudoku Game GitHub repository.

📝 Happy Sudoku gaming! 🧩🎉

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages