Geometry Friends is a two-player collaborative puzzle platformer game with a 2D physics-based environment, having gravity and friction. Players control one of two characters, a yellow circle capable of jumping and rolling, and a green rectangle that can slide and morph its shape to a vertical or a horizontal rectangle. The goal of the game is for players to collaborate and collect a set of purple diamonds positioned throughout the levels as quickly as possible. Each level can feature diferent platform types, such as standard black platforms that collide with both characters, yellow platforms that exclusively collide with the green rectangle, and green platforms that only collide with the yellow circle.
Geometry Friends has been used for an AI competition, in which participants had to develop their own agents for the game, solving individual and collaborative puzzles. Recently, GAIPS has done a study on human-AI collaboration in which participants played Geometry Friends levels with agents varying in initiative (leader, follower, shifting). Researchers mainly assessed human perceptions of the agents, the self, and the team (see more information: https://github.com/1000obo/geometry-friends-study), and the main strategies used in collaboration.
To run the game, follow these steps:
- Download/Clone this repository
- Enter the Geometry-Friends-Demos folder
- Inside the folder, you need to unlock ALL files in the Agents folder to run the agents (through the file properties)

- Run the game executable, GeometryFriends.exe, and connect the game controller.
- People will be able to play a maximum of 15 levels as the rectangle randomly with a leader or a follower circle agent (from the mentioned study)