This puzzle is part of the Monthly Topic Challenge #7: Board games.
Inspired by the incident, I created a variant of Mastermind, although it wasn't actually intended for colorblind people. The main difference is that you don't know what the small pegs exactly mean in the first place. You just know that one of them means "hot" (the number is correct and in the right place) and the other means "warm" (the number is correct but is in the wrong place) - you don't know which is which. Here is an example.
Guess | Response
1267 | No small pegs
3458 | 3 blue pegs
7824 | 1 blue peg
5888 | 1 pink peg
4533 | 3 blue pegs and 1 pink peg
The variant can be made harder if a third small peg for "cold" (the number is not in the hidden code at all - equivalent to the empty slot in the original Mastermind) is mixed into the set of small pegs. Here is another example. In this example I will use three different symbols for each kind of pegs. (The order of the small pegs does not matter)
Guess | Response
1234 | $$$£
3445 | $$$$
4567 | $$€$
2733 | £$$$
4787 | $£$£
8628 | €£$$
Task 1:
Is it possible to find the hidden code of the above two rounds through logical deduction? If not, consider the possible further guesses that could lead to the solution.
Task 2:
Is there a clever way to solve these Mastermind variants?