| Project Name | Gangtic-Phone | ||||
|---|---|---|---|---|---|
| Period | 2024.10 ~ 2024.12 | ||||
| Team Member | Eunsong Kang (BACK-END) Gaeun Yoo (FRONT-END) |
||||
| OS | Linux (Ubuntu) | Language | C | OSS | SDL2 Library |
This is the term-project for 2024-2 Server Programming of CBNU.
Gangtic-Phone is a drawing quiz game built using a server-client architecture and implemented with the SDL2 library for a GUI-based experience.
Our project was developed entirely in C language and designed to run in a Linux environment.

On the home screen, you can access the audio settings by clicking the setting button.
The audio includes background music and sound effects for correct and incorrect answers.
(Audio files are located in /Gangtic-Phone/assets/audio.)

By clicking the Create button, you can create a room, and the X button allows you to delete it.
Clicking on a room lets you enter it, but the game requires 4 players to proceed, so you'll need to wait until the room is full.
Rooms with other players cannot be deleted, and rooms with already 4 players are not accessible.

Once 4 players are in the room, it is changed to the game screen.
The player who entered the room first becomes the initial quiz master(painter).
Afterward, the role of the quiz master is passed to the player who answers correctly.

The quiz master draws the answer on the sketchpad.
This drawing is visible to all players, and they can submit their answers using the text-input field.
If a player answers correctly, they take over as the next quiz master.
If the answer is incorrect, a message indicating the wrong answer will appear.
When one player answers correctly, the rest of the players are notified with a corresponding message.

The game consists of a total of 5 rounds.
After the final round, it will be changed to the result screen, where players can view the result of the completed game.
(Result files are stored in /Gangtic-Phone/running_game/result_n.txt.)
Clicking the Home button returns players to the main screen, and the Exit button closes the program.
git clone https://github.com/kangeunsong/Gangtic-Phone
cd repositoryMake sure that you're in the right repository.
make
./server
./client nicknameYou must edit Makefile.
Do "make" first to make .exe files. Then, execute 1. server and 2. client(with your nickname).