https://github.com/thoonk/iocp-bulls-cows
Number baseball game based on IOCP
https://github.com/thoonk/iocp-bulls-cows
c iocp
Last synced: 8 months ago
JSON representation
Number baseball game based on IOCP
- Host: GitHub
- URL: https://github.com/thoonk/iocp-bulls-cows
- Owner: thoonk
- Created: 2019-09-04T12:52:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-28T16:17:48.000Z (about 6 years ago)
- Last Synced: 2025-04-24T03:06:34.687Z (about 1 year ago)
- Topics: c, iocp
- Language: C
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IOCP_Bulls-Cows
Number baseball game based on IOCP
Multiple connections of clients are possible, and the server and client are in a 1: N structure.
This is a routine where the game ends when a random number is created on the server and the client matches the number on the server in order.
## Manual
First, start the server, then the clients, and the client supports multiple clients.
And if the client inputs three digits in succession without duplication and hits enter,
the server processes the strike and ball value and sends it to the client.
Repeat until you hit the number of servers and if the number of servers is corrected, the corresponding client that was hit wins and ends.