Python SDK demo

This commit is contained in:
Eden Kirin
2023-03-27 13:33:23 +02:00
parent cf0605c83c
commit 5e8981953f
3 changed files with 66 additions and 9 deletions

View File

@ -28,6 +28,13 @@ class PositionError extends Error {
}
}
const Direction = {
LEFT: "left",
RIGHT: "right",
UP: "up",
DOWN: "down",
};
class FairHopper {
constructor(host, port) {
this.host = host;
@ -121,4 +128,5 @@ module.exports = {
PlayerNotFoundError,
PlayerInactiveError,
PositionError,
Direction,
};