https://github.com/kaliv0/cubepuzzle
https://github.com/kaliv0/cubepuzzle
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kaliv0/cubepuzzle
- Owner: kaliv0
- License: mit
- Created: 2022-06-30T06:29:46.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-12T14:16:29.000Z (almost 3 years ago)
- Last Synced: 2025-02-17T14:49:39.844Z (4 months ago)
- Language: Java
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CubePuzzle
You have four colored cubes.
Each side of each cube is a single color, and there are four colors:
blue (B), red (R), green (G) and yellow (Y).Describing the six faces as front, back,
left, right, top, bottom, the cube colors are:
The objective is to find ways to stack the four cubes as a vertical column
so that each side of the column is showing all four colors.Valid input: "RBGYBY,BGYGRB,GRRBYG,YYBRGR"
Invalid input: "RBGYBY,RGGYBB,YBRGYR,YGBRRR"