Claim Missing Document
Check
Articles

Found 1 Documents
Search
Journal : The Indonesian Journal of Computer Science

Implementasi Game Hangman Multiplayer Menggunakan Socket dan Multithreading Berbasis Protokol TCP Marieska, Mastura Diana
The Indonesian Journal of Computer Science Vol. 13 No. 5 (2024): The Indonesian Journal of Computer Science (IJCS)
Publisher : AI Society & STMIK Indonesia

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.33022/ijcs.v13i5.4384

Abstract

Multiplayer games tend to be more engaging and can offer a more enjoyable experience compared to single-player games. Hangman, a word-guessing game, is commonly played in groups. When players are in different locations, a reliable connection mechanism is crucial to maintain uninterrupted gameplay. In this study, the Hangman game was implemented using socket programming and multithreading. Sockets were used as the connection mechanism between the players and the server. TCP protocol, which is reliable, was used in this implementation to maintain integrity of communication between clients and server. To allow multi players to participate simultaneously, multithreading was implemented. On the server side, each connected client was assigned a dedicated thread, allowing independent and parellel communication between server and each client. Blackbox testing result indicate that all features of the Hangman game were succesfully implemented and functioned properly.