Browse Source

Merge branch 'new' of github.com:shangfengh/THUAI6 into new

tags/0.1.0
shangfengh 2 years ago
parent
commit
1616dd058a
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      CAPI/cpp/API/src/Communication.cpp
  2. +0
    -1
      CAPI/cpp/API/src/main.cpp

+ 0
- 1
CAPI/cpp/API/src/Communication.cpp View File

@@ -19,7 +19,6 @@ bool Communication::Move(int64_t time, double angle, int64_t playerID)
protobuf::MoveRes moveResult;
ClientContext context;
auto request = THUAI62Proto::THUAI62ProtobufMove(time, angle, playerID);
std::cout << "Move request sent" << std::endl;
auto status = THUAI6Stub->Move(&context, request, &moveResult);
if (status.ok())
return moveResult.act_success();


+ 0
- 1
CAPI/cpp/API/src/main.cpp View File

@@ -69,7 +69,6 @@ int THUAI6Main(int argc, char** argv, CreateAIFunc AIBuilder)
std::cerr << "Parsing error: " << e.error() << " for arg " << e.argId() << std::endl;
return 1;
}
std::cout << file << std::endl;
try
{
Logic logic(playerType, pID, trickerType, studentType);


Loading…
Cancel
Save