프로젝트이름 원슨어택게임이름 신의한수위 둘의 차이는 나도 헷갈린다. 소스공개: #include#include#include#include#include#include #define true 1#define false 0 using namespace std; typedef struct set_field{int howin = -1;//1없음,2플래이어,3컴퓨터}SET; typedef struct player {char name[100];int HP=1;int SP=0; int defend = NULL; int axis_x = NULL;int axis_y = NULL; int AI = NULL; // AI인경우 랜덤함수를 통해 이동과 공격을 설정한다.(1 이면 AI) int action1[3];int acti.....
원문 링크 : C언어로 만든 생애 첫 게임