🔍

首页Home › 小游戏Games

🔐 猜颜色密码Code Breaker

在线猜颜色密码(珠玑妙算类推理游戏):电脑藏起一组颜色密码,你有 10 次机会,每次猜完会得到黑白提示——黑表示颜色和位置都对,白表示颜色对但位置不对;可选 4 位 6 色、4 位 8 色、5 位 8 色和是否允许重复,带推理提示和最少次数记录。Play code breaker online: the computer hides a colour code and you have ten guesses. After each guess you get black pegs for the right colour in the right place and white pegs for the right colour in the wrong place. Choose 4 pegs/6 colours, 4/8 or 5/8, with or without repeats; deduction hints and fewest-guess records.

已猜Guesses0 / 10
时间Time00:00
最少次数Best–
破解/失败Cracked/Failed 0 / 0

点下方的颜色依次填入当前行(高亮行),点已填的格子可以选中或清除,填满后点「确定」。每次猜完右侧出现小圆点:黑点=颜色和位置都对,白点=颜色对但位置不对,点的顺序和位置无关。键盘:数字 1–8 选颜色,←→ 移动,Backspace 删除,回车 确定,H 提示。Click colours below to fill the highlighted row; click a filled slot to select or clear it, then press Check. After each guess small pegs appear: black = right colour in the right place, white = right colour in the wrong place; their order says nothing about which slot. Keyboard: 1–8 pick colours, ←→ move, Backspace deletes, Enter checks, H hint.

玩法说明与常见问题How to play & FAQ

「猜颜色密码」怎么玩?How do I play Code Breaker?

电脑随机生成一组 4 位(或 5 位)颜色密码。每一行你猜一组颜色,提交后得到反馈:每个黑点代表有一个颜色猜对且位置也对,每个白点代表有一个颜色在密码里但放错了位置。利用这些线索一步步缩小范围,在 10 次以内猜出完整密码就算破解成功。每个颜色上都标了数字,色弱玩家也能区分。The computer picks a secret code of four (or five) colours. Each row you enter a guess and get feedback: every black peg means one colour is correct and in the correct position; every white peg means one colour is in the code but in a different position. Use the clues to narrow it down and crack the full code within ten guesses. Each colour also carries a number, so it is colour-blind friendly.

提示功能会直接告诉我答案吗?Does the hint just give away the answer?

不会。提示会根据你已经得到的所有黑白反馈,算出“仍然可能”的密码有多少种,并随机填入其中一种。它保证不和已有线索矛盾,但不一定就是正确答案。No. The hint counts how many codes are still possible given all the black/white feedback so far and fills in one of them at random. It never contradicts your clues, but it is not necessarily the answer.

最少几次能猜出来?How few guesses does it take?

在 4 位 6 色、可重复的经典设置下,理论上任何密码都能在 5 次以内破解;一般玩家 6–7 次左右。5 位 8 色的组合有 32768 种,会难很多。In the classic 4-peg, 6-colour game with repeats, any code can be cracked in at most five guesses with perfect play; most people need six or seven. The 5-peg, 8-colour mode has 32,768 possible codes and is much harder.

「猜颜色密码」免费吗?需要下载吗?Is Code Breaker free? Do I need to download anything?

完全免费,无需注册、下载或安装,打开网页就能玩,手机、平板和电脑都支持;游戏完全在你的浏览器本地运行,不会上传任何数据。It is completely free with no sign-up, download or install — just open the page on a phone, tablet or computer. The game runs entirely in your browser and nothing is uploaded.

相关工具Related tools

🎴 记忆翻牌Memory Match🧮 24点24 Game🧩 数独游戏Sudoku🔤 猜单词Word Guess🖼️ 数织Nonogram (Picross)💣 扫雷Minesweeper💡 关灯游戏Light Switch Puzzle🎵 记忆闪灯Sequence Memory

← 全部工具All tools