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

Published: 10 Oct, 2025
Category Assignment Subject Computer Science
University University of Hertfordshire Module Title 6COM2012: Social and Collective Artificial Intelligence

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.

Buy Answer of 6COM2012 Assignment & Raise Your Grades

Pay & Buy Non Plagiarized Assignment

UK assignment help is now available for 6COM2012: Social and Collective Artificial Intelligence Assignment! Struggling with your Assessment? We've got you covered. Our experts provide affordable Computer Science Assignment Help, ensuring 100% human-written content – no AI. Get A+ guaranteed, with plagiarism-free content and on-time delivery. We provide free assignment samples. Enjoy affordable, high-quality services and stress-free learning as you receive top-notch assistance with your assignments. Let us help you excel in your course!

Workingment Unique Features

Hire Assignment Helper Today!


Latest Free Samples for University Students

ICT239 Web Application Development Assignment Sample | SUSS

Category: Assignment

Subject: Computer Science

University: Singapore University of Social Science (SUSS)

Module Title: ICT239 Web Application Development

View Free Samples

OST166 Understanding Leadership through Place-Based Education Assignment Sample | SUSS

Category: Assignment

Subject: Education

University: Singapore University of Social Sciences (SUSS)

Module Title: OST166 Understanding Leadership through Place-Based Education

View Free Samples

BE469-7-SP-CO Managing Across Cultures Assessment Example 2025-26 | UoE

Category: Assignment

Subject: Business

University: University of Essex

Module Title: BE469-7-SP-CO Managing Across Cultures

View Free Samples

BABM1003 Accounting and Budget Management Assignment 1 Example 2025-26 | DMU

Category: Assignment

Subject: Management

University: De Montfort University

Module Title: BABM1003 Accounting and Budget Managemen

View Free Samples

ULMS55O Human Resources Management at Affluent: Academic and Practitioner’s Perspective Assessment 2 Example

Category: Assignment

Subject: Management

University: University of Liverpool

Module Title: ULMS55O Human Resources Management at Affluent: Academic and Practitioner’s Perspective

View Free Samples