GAME CARO
Instructors : Hoang Httu Duc
Trang 301 INTRODUCTION 02 THEORETICAL
TO THE TOPIC BASIS
EXECUTION AND
Trang 5REASON FOR CHOOSE TOPIC
Keep players entertained
Fully demonstrate the requirements of the subject Various functions to improve programming
Trang 6= LỊ HEREESERERESEREREDEREQASABUEE GOALS AND RESULTS
-» Build an online checkerboard game that can be played with many other players
“> Understand how TCP Sockets work
Improve knowledge of Server-Client connection with TCP/IP
Trang 8VIKLI i ——— Network protocols TTTTTTTTFTTr LÍ | | | | ft | L_ | | zs >| IP — : UDP — IP TCP UDP
IP addresses are Data transmission is Data transfer is fast : divided into 5 classes slow but provides and efficient but not Ệ
Trang 9Client-Server model “§: Database a Client =5 =5 | occ N Data Response Ss os ————j) CIC) Server Data Request
The client sends
the request to the
server and the server processes
@ and returns the
Trang 10Socket Programming Client đề Server
Method of establishing connection
between client and server
= | Once the socket is established, the = — —— m=m—
two computers can exchange
services and data