Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

SortingBallColors

This is a repository for a personal project where I try to make the game 'Sorting balls by color'. This game will mostly be done through a state representation in python and could be expanded upon visually. The goal is to make an efficient solver.

Game explanation

Start

The game starts with a number of ball colors N and a number of tubes N+2. There are four balls of each color and they are randomly placed in each of the first N tubes until all of them are full.

Goal

The goal of the game is to have all balls sorted by color. So you should only have 1 color in each tube. Which tube each color is in doesn't matter.

Rules

You can do this by moving the balls around, but there are some strict rules.

  • No tube can ever have more than 4 balls in it
  • You can only move a ball to a tube where the top ball is of the same color or to an empty tube

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages