Skip to content

Freezer-tech/Pong-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong game

Hey this is Pong! Everyone knows Pong :D

What does it do?

This is Pong written in C++, you can play against another player or vs computer.

What is needed?

You need SDL2 libraries and Windows. I don't know if it works on linux because TTF_OpenFont is set to a windows path.

Usage

compile by using

gcc -o pong2 pong2.c -I/path/to/your/includes -L/path/to/your/libs -lmingw32 -lSDL2main -lSDL2 -lSDL2_ttf -lSDL2_gfx -mwindows

Example

Example 1 Example 2

Controls

Arrow UP or Arrow DOWN - To move UP or DOWN for Player 1

W or S - To move UP or DOWN for Player 2

Contributing

Contributions are welcome! Feel free to submit a pull request.

About

This is Pong written in C with SDL Libraries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages