Skip to content

A C program which has multiple games and demonstrates how the users data gets stored when users play the game.

Notifications You must be signed in to change notification settings

Shashank-V-H/DSA_project_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini-Project Data Structures: C-Based Interactive Games

Overview

This program uses single linked list to store the players statistics, this is implemented using the C language.

Features

  • Guessing Number Game: Players guess a random number between 1 and 3. The program generates a random number, and players receive points based on correct guesses.
  • Cows and Bulls: Players try to guess a randomly chosen 3-character word. They receive feedback on the number of correct letters in the correct position (bulls) and correct letters in the wrong position (cows).
  • Rock-Paper-Scissors: Players play against the computer in the classic game of rock-paper-scissors. Results are displayed based on the choices made by the player and the computer.

Technologies Used

  • C Programming Language
  • Random number generation
  • Basic input/output handling
  • Linked List

Usage

  1. Clone the repository: git clone https://github.com/Sha-V-H/DSA_project_code.git
  2. Navigate to the directory: cd DSA_project_code
  3. Compile the program: gcc dsa_project.c
  4. Run the program: ./a.out
  5. Follow the on-screen instructions to play the games.

Future Enhancements

  • Adding more interactive games to the collection.
  • Improving user interface and experience.

About

A C program which has multiple games and demonstrates how the users data gets stored when users play the game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published