Both are correct English. #2 means eg you didn't know the rules of the game. #1 can mean this, but can also mean you knew the rules but you didn't have a chess board or an opponent..
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.