📖 Uncategorized

6COM2012 Worksheet 1: Co-existing Agents This worksheet focuses on interactions that occur between agents simply by co-existing in a shared world. 1. Basic interactions Implement a 3 by 3 grid world with 3 agents in Python

OK Okoth · 📅 11 October 2025 · ⏱ 2 min read
✍️ Need help with this assignment? Get expert quotes in minutes — free to submit. ✍️ Get Writing Help FREE

6COM2012: Social and Collective Artificial Intelligence Worksheet 1: Co-existing Agents

6COM2012 Worksheet 1: Co-existing Agents

This worksheet focuses on interactions that occur between agents simply by co-existing in a shared world.

1. Basic interactions

Implement a 3 by 3 grid world with 3 agents in Python.

If an agent leaves the world on one side, it re-enters on the other side again. Each agent should have its own behaviour and moves in a specific pattern:

  • Walk clockwise around the world.
  • Walk diagonally in a diamond shape counter-clockwise.
  • Walk always to the left.

If an agent tries to move to a field occupied by another agent, the move is cancelled.

Each agent starts in the red field but two time-steps apart. Define the order in which the agents move each round. Choose the order in which the agents start.

6COM2012 Worksheet 1: Co-existing Agents

Run the simulation for at least 50 time steps.

Each time there is a conflict, print the field and agents involved. Do you see a pattern?

2. Platform Royal

Create a 5 by 5 grid world with no walls around it. Any agent that moves off the grid permanently leaves the game.

This time, if an agent tries to move to a field occupied by another agent, it pushes the other agent by one field.

Add at least 4 different agents with individual movement patterns and defined start states to this world.

Define the order in which the agents move each round.

Run the simulation 3 times with different start states for the agents and record how many agents remain in the world after 100 time-steps.

Challenge (optional): Design your own agent that pushes all other agents from the platform. You can achieve this by clever design an incidental antagonism or by giving the agent new capabilities making it intentionally antagonistic

Plagiarism Free Assignment Help

Expert Help With This Assignment — On Your Terms

  • All subjects — UK, USA & Australia writers
  • 100% Plagiarism-Free — Turnitin report included
  • Deadline from 3 hours
  • Unlimited free revisions
  • Free to submit — compare quotes
OK
Okoth
Academic Expert · EssayPanel

Expert academic writer and education specialist helping students in the UK, USA, and Australia achieve their best results across all subjects.

Need help with your own assignment?

Our expert writers can help you apply everything you've just read — to your actual assignment, brief, and marking criteria.

Get Expert Help Now →
📝 Free Submission — No Card Required

Need Help With This Assignment?

Our verified experts deliver 100% original, plagiarism-free work to your exact brief and marking criteria. Submit free — compare quotes — choose your expert.

Write My Assignment FREE Get A Free Quote →

No credit card · No commitment · First quote in minutes