Skip to content

Console based Ping-pong game written in C (only compatible with Windows operating system(s))

Notifications You must be signed in to change notification settings

shrehanrajsingh/cpingpong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Ping Pong Game

This is a simple Ping-Pong game implemented in C, designed to be played on Windows. It is built using CMake and consists of a single source file.

Prerequisites

To run this game, you need to have the following installed on your system:

  • Windows operating system
  • CMake

Installation

  1. Clone this repository to your local machine.
  2. Open a command prompt and navigate to the project directory.
  3. Run the following commands to build the game:
    cmake .
    cmake --build .
    
  4. Once the build is successful, you can run the game by executing the generated executable file.

Usage

The game can be played using the following controls:

  • Down Arrow: Move the barrier down
  • Up Arrow: Rotate the barrier up

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

Console based Ping-pong game written in C (only compatible with Windows operating system(s))

Resources

Stars

Watchers

Forks

Packages

No packages published