- Add library of 'ws2_32.lib'
- Execution Sequence
2. Client send first data
3. Tetris Game progressing
4. if any one lose the game, first index data among sending array data is setting 'Lose Value'
5. 'Lose User' send data and it close socket
6. 'Win User' receive Array Data with 'Lose Value' of Opponent
7. 'Win User' win with using 'Lose Value' of Opponent
8. 'Win User' close socket
- Reason
if 2 situation doesn't exist, Client'recv() function is blocking.
if 4~7 situations don't exist, 'Win User' don't know the situation.
- Next
4.2 Add score bettle system.
댓글 없음:
댓글 쓰기