Primer commit. Clon del repo de CC

This commit is contained in:
2024-05-08 16:54:45 +02:00
parent 323dc7b165
commit 889b571dac
251 changed files with 85336 additions and 88 deletions
+16
View File
@@ -0,0 +1,16 @@
#pragma once
#include <string>
namespace jscore {
void init(std::string host, const int port);
const bool initOnlineScore(std::string game);
const int getNumUsers();
std::string getUserName(const int index);
const int getPoints(const int index);
const int getUserPoints(std::string game, std::string user);
const bool updateUserPoints(std::string game, std::string user, const int points);
std::string getUserData(std::string game, std::string user);
void setUserData(std::string game, std::string user, std::string data);
};