Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MASSim as SRE. #771

Open
gallandarakhneorg opened this issue Oct 15, 2017 · 6 comments
Open

Add MASSim as SRE. #771

gallandarakhneorg opened this issue Oct 15, 2017 · 6 comments

Comments

@gallandarakhneorg
Copy link
Member

gallandarakhneorg commented Oct 15, 2017

https://multiagentcontest.org/

@ssardina
Copy link
Contributor

This would be great, but I do not understand what it means. We did build a capability to connect to MASSIm if that helps.

@gallandarakhneorg
Copy link
Member Author

Here, We could connect or assume that MASSim is a run-time environment for SARL.

  • Create a Capacity-Skill pair for connecting to (connection principle).
  • Create a library that wrap the Java code corrently generated by the SARL compiler to the MASSim specific libraries (wrapping principle)
  • Add a plugin to the compiler for generating a MASSim-specific code from the SARL code instead of the Java code (compilation principle)

@ssardina
Copy link
Contributor

OK @gallandarakhneorg , I think I have the first bullet and I am happy to contribute it. We are able to access the MASSIM server from a SARL agent via a capacity-skill.

@ssardina
Copy link
Contributor

I have almost finished factored my code into a Capacity-Skill for connecting to the game server. So this will address the first point n your post.

Now, why can't we then provide all the rest as more actions within the skill (like checking for percepts, sending actions, etc)? Why do we need to insert that into the SRE itself? My approach was to provide a library of SARL files, that can be packed into a JAR file for example and then use it off-the-shelf by someone developing the actual behavior of an agent system to play the game. Wouldn't this be OK?

@gallandarakhneorg
Copy link
Member Author

We don't need to add the connection code within the SRE. It was an option, that is not the most simple to implement. Your approach based on capacities and skills should be better.

I propose you to have three different contributions:

  1. Create a library with capacities and skills for accessing to the server.
  2. Create an example contribution with a small SARL application using the library.
  3. Write a small text for explaining the general principles of the connection to MASSIM in order to be added into the SARL website.

I would propose you to prepare a single SARL project that includes the two first points. Then we should decide with @srodriguez and @ngaud how to include the project within the SARL product (inside the product itself or inside a separate project).

@ssardina
Copy link
Contributor

OK, we are on the same page, good.

Plan 1-3 sounds good. It will take me sometime, but I will do it little by little. I do have 1 and 2, but needs much clean-up. Will keep you posted.

@gallandarakhneorg gallandarakhneorg modified the milestones: 0.9, 0.10.0, 0.11.0 Mar 1, 2019
@gallandarakhneorg gallandarakhneorg modified the milestones: 0.11.0, 1.0.0 Sep 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants