var fDesc=new Array(); fDesc[0] = "WinMind is a single-player game. Your goal is to break the secret code created by the computer. This code is made of 5 slots which can be either empty (expert mode only) or contain a ball randomly chosen among balls from 8 different colors.

WinMind offers you three different modes: beginner, intermediate or expert that use different code creation schemes:
- Beginner mode: WinMind fills all slots with balls and each ball has its own color.
- Intermediate mode: WinMind fills all slots with balls and several balls may share the same color.
- Expert mode: WinMind may leave empty one or several slots and several balls may share the same color.

You have up to 12 guesses to break the code. If you fail to break the code, WinMind will display the code. When you suggest a code by pressing the OK button, the computer gives you the following information:
- Anytime a perfect match exists for a slot (same color, same place), a black peg is shown.
- Anytime a match exists (same color) a white peg is displayed."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }