Guess Number 1

Flash guessing game. Guess the four digit numbers. You are given specified time to guess the number. The maximum guess is limited to ten only. The correct number and correct place is called 'a'. Meanwhile,the correct number but wrong place is called 'b'....