C语言发牌游戏 21点
# include <stdio.h> # include <stdlib.h> # include <time.h> # include <string.h> # include <ctype.h> # define NUMBER 13 # define SIZE 1000 # define length 100 //玩家模型 struct Player { char name [ length ] ; int points ; int refuse ; } ; int Shuffle_cards ( int S_cards [ ] ) ; int play_game ( ) ; int Reset_game ( struct Player * players [ ] , int bots ) ; struct Player * Create_bot ( char name [ ] ) ; int IS_card ( int Is_card [ ] , int a ) ; //重置游戏,角色不释放 int Reset_game ( struct Player * players [ ] , int bots ) { int i ; for ( i = 0 ; i < bots ; i ++ ) { players [ i ] -> points = 0 ; players [ i