168 (8) | Sam Clippinger Javascript |
JSothelloThis version allows the user to play the computer, another human or watch the computer play itself. The computer players have four levels of "intelligence", each with different styles of play: - "Only took a minute to learn": The computer chooses random (legal) moves.
- "Laughable": The computer picks (one of) the move(s) that will flip the most pieces.
- "Respectable": Plays like "Laughable" but tries to grab the edges and the corners whenever possible while keeping its opponent from being able to grab the edges and corners.
- "Took a lifetime to master": Plays like "Respectable" but adjusts its edge/corner bias as the board fills up, favors moves that flip pieces in more than one direction, tries to prevent moves that will allow the opponent to immediately reverse its gain and places pieces closer to the corners when possible.
Übersetze ich bei Gelegenheit auch mal; aber jetzt vwird das Badewasser kalt. |