GithubHelp home page GithubHelp logo

jrtilak / c-games Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 10.89 MB

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

C 100.00%
c c-games c-programming c-project ioe ioe-project

c-games's Introduction

"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.

c-games's People

Contributors

jrtilak avatar kaleutsab avatar sumitrijal1 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.