Skip to content

kangeunsong/Gangtic-Phone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

50 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Drawing Quiz Game using TCP Socket


๐Ÿ‘‹ Overview

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



๐ŸŽจ Introduction

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.




๐Ÿ–ผ๏ธ Demonstration

demonstration1 GIF
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.)



demonstration2 GIF
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.



demonstration3 GIF
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.



demonstration4 GIF
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.



demonstration5 GIF
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.




๐Ÿ’ป How to use

git clone https://github.com/kangeunsong/Gangtic-Phone
cd repository

Make sure that you're in the right repository.

make
./server
./client nickname

You must edit Makefile.
Do "make" first to make .exe files. Then, execute 1. server and 2. client(with your nickname).

About

Gangtic-Phone; Drawing Quiz Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors