https://github.com/ppodds/hide-and-seek
A simple party game.
https://github.com/ppodds/hide-and-seek
game golang protobuf socket-io socket-programming unity3d
Last synced: 2 months ago
JSON representation
A simple party game.
- Host: GitHub
- URL: https://github.com/ppodds/hide-and-seek
- Owner: ppodds
- Created: 2022-10-31T02:39:18.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-16T06:05:40.000Z (over 3 years ago)
- Last Synced: 2025-01-16T10:33:15.990Z (over 1 year ago)
- Topics: game, golang, protobuf, socket-io, socket-programming, unity3d
- Language: C#
- Homepage:
- Size: 1.11 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hide And Seek
## Introduction
This is the socket programming homework of Computer Network course at National Central University.
Hide And Seek is a simple party game. Ghost (ball) need to catch other players to win. Player need to run away from the ghost to survive.
## Features
- Multiple clients
- Support multiple games play in the same time
- Non blocking socket
- Game (multi-threading and async IO)
- Server (multi-threading)
## Game Protocol
### TCP RPC
- Request
- Header (Five bytes)
- First byte - TCP RPC ID
- Four bytes - Content length
- Data
- Protobuf
- Binary encoded data
- Response
- Header (Four bytes)
- Content length
- Data
- Protobuf
- Binary encoded data
### UDP RPC / Broadcast
- Request
- Header (Five bytes)
- First byte - UDP RPC ID
- Four bytes - Content length
- Data
- Protobuf
- Binary encoded data
- Response / Broadcast
- Data
- Protobuf
- Binary encoded data
## Screenshots





