Skip to content

"C Games" is a collection of interactive games. It also includes features like user account creation, login, game history tracking.

Notifications You must be signed in to change notification settings

jrTilak/C-Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"C Games" is a collection of interactive games developed as the 1st-semester project for the C programming subject at the IOE, Purwanchal Campus, Dharan. The program aims to provide a fun and engaging experience for users, allowing them to play various games. It also includes features like user account creation, login, game history tracking, and high-score recording.

See Documentation for detailed explanation of used functions and variables

Features:

  1. User Account Creation and Login: Users can create a new account by providing their name, desired username, and password. The system checks if the username is already taken to prevent duplicates. Upon successful account creation, users can log in with their credentials.

  2. Multiplayer and Single-player Games: After login, the user is presented with a game menu. The user can choose from the following games:

    • Tic Tac Toe: A classic two-player game where players take turns placing X or O in a 3x3 grid. The first player to get three marks in a row, column, or diagonal wins.
    • Truth or Dare: A fun party game where players take turns choosing between answering a truth question or performing a dare. Players earn points for successfully completing their chosen task.
    • Rock Paper Scissors: The classic hand game where rock beats scissors, scissors beat paper, and paper beats rock. Players compete against the computer.
    • Coin Flip: A simple game where the user can flip a virtual coin and call heads or tails before flipping.
  3. Game History: The program keeps track of the user's game history, recording the game name, score, and date and time played. Users can view their game history, providing them with a sense of achievement and progress.

See all the games description below:

  1. Tic Tac Toe:

    • Tic Tac Toe is a classic two-player game implemented in the program.
    • Players take turns placing their symbol (X or O) in a 3x3 grid.
    • The first player to get three of their marks in a row, column, or diagonal wins.
    • Unique Feature: The game allows two players to compete against each other, testing their strategic skills and logical thinking.
  2. Truth or Dare:

    • Truth or Dare is a popular party game included in "C Games."
    • Players take turns choosing between answering a truth question or performing a dare.
    • The game features a collection of truth questions and dare tasks to keep the gameplay engaging.
    • Unique Feature: Players can accumulate points by successfully completing truth questions or dares, adding a competitive element to the game.
  3. Rock Paper Scissors:

    • Rock Paper Scissors is a classic hand game that players can enjoy against the computer.
    • The player and computer choose rock, paper, or scissors simultaneously.
    • Rock beats scissors, scissors beat paper, and paper beats rock.
    • Unique Feature: The game offers a simple yet entertaining experience that relies on luck and quick decision-making.
  4. Coin Flip:

    • Coin Flip is a straightforward game that allows users to virtually flip a coin.
    • The user can call "heads" or "tails" before the flip to make their prediction.
    • The result of the flip determines whether the user wins or loses.
    • Unique Feature: Coin Flip adds a touch of randomness and excitement to the game collection, making it quick and easy to play.

Apart from the games, "C Games" offers additional features, such as user account creation and login functionality. Users can create their accounts, providing their name, username, and password. The program ensures that each username is unique to prevent duplication.

Furthermore, the program keeps track of the user's game history, recording the game name, score, and date and time played. This feature allows users to view their progress, achievements, and high scores.

In summary, "C Games" is a comprehensive collection of games that caters to various interests and skill levels. With its diverse range of games, interactive gameplay, and additional features like account creation and game history tracking, "C Games" provides a delightful and engaging experience for players of all ages.

About

"C Games" is a collection of interactive games. It also includes features like user account creation, login, game history tracking.

Topics

Resources

Stars

Watchers

Forks

Languages