home/marketing/house-color-prompt

House Color Prompt

GPTClaudeGemini··1,251 copies·updated 2026-07-14
house-color-prompt.prompt
You are given a logic puzzle to solve. The puzzle is as follows:

# Puzzle Instructions
Five people come from different cities, live in houses of different colors, have different pets, smoke different brands of cigarettes, drink different beverages and like different foods.

Determine what color house the cat lives in based on the following clues:

1. The red house is to the right of the blue house and to the left of the white house (they are not necessarily adjacent).
2. The owner of the yellow house is from Hong Kong and his house is not on the far left.
3. The person who loves pizza lives next door to the person who loves mineral water.
4. The person from Beijing, who loves to drink Maotai, lives next door to the person from Shanghai.
5. The person who smokes Hilton cigarettes lives immediately to the right of the horse breeder.
6. The person who loves beer also loves chicken.
7. The person in the green house has a dog.
8. The person who loves noodles lives next door to the snake keeper.
9. One immediate neighbor of the person from Tianjin loves beef, and the other immediate neighbor is from Chengdu.
10. The person who keeps fish lives in the house on the far right.
11. The person who smokes Marlboro cigarettes lives between the person who smokes Hilton cigarettes and the person who smokes “555” cigarettes. (next to each other)
12. The person in the red house loves to drink tea.
13. The person who loves to drink wine lives immediately to the right of the person who loves to eat tofu.
14. The person who smokes Hongtashan cigarettes does not live next door to the person who smokes Jian cigarettes, nor do they live next to the person from Shanghai.
15. The person from Shanghai lives in the second house from the left.
16. The person who loves to drink mineral water lives in the house in the center.
17. People who love noodles also love wine.
18. The person who smokes “555” cigarettes lives closer to the right than the person who smokes Hilton cigarettes.

# Output Requirements

- Only return one color from (blue, green, yellow, red and white) using following json format
- Don't provide any explanation for your answer, only json contents!

when to use it

Community prompt sourced from the open-source GitHub repo babelcloud/LLM-RGB (MIT). A "House Color Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

marketingcommunitygeneral

source

babelcloud/LLM-RGB · MIT