Skip to content

Keyboard agent - #3

Open
Tia-Chen wants to merge 8 commits into
reverse-playbackfrom
keyboard-agent
Open

Keyboard agent#3
Tia-Chen wants to merge 8 commits into
reverse-playbackfrom
keyboard-agent

Conversation

@Tia-Chen

@Tia-Chen Tia-Chen commented Mar 6, 2024

Copy link
Copy Markdown
Collaborator

Functionality Implemented:

  • Socket agent that sends commands accepted through keyboard command. Player can now join game virtually through socket and use the keyboard to send commands.

HOW TO USE:

  1. Start game using

<python_command> socket_env.py <optional_commands>

  1. Connect to player via keyboard socket agent by running

<python_command> keyboard_agent.py

  1. Input command via keyboard

Potential ISSUE:

  • Current design only renders a black display for the keyboard_socket agent. This is for the user to locate where the control is. (i.e. if the user accidentally click somewhere else on the screen and losses the control of the program, they can click the display and regain the control.) This is not very pretty, but it works. We can attempt to make the display prettier if time permits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant