Scrabble Card Game - AI Agent





The game of Scrabble


"Here are the rules of the game, which I shall call scrabble. The game is played by two people with nine cards - let us say the ace through to the nine of hearts. The cards are placed in a row, face up, between the two players. The players draw alternately, one at a time, selecting any one of the cards remaining in the center. The aim of the game is for a player to make up a 'book', that is, a set of exactly three cards whose spots add to 15, before the opponent can do so. The first player who makes a book wins; if all nine cards have been drawn without either player making a book, the game is drawn." - H. Simon




PLAYER O CARDS
Choose a card
PLAYER X CARDS
1

2

3

4

5

6

7

8

9

 




Neural Network
Boardstate (X):
AI Output (y):






Representation of the Design


Select the text that is in black below to reveal the strategy. Easiest way is to select all text.

"The magic here is made up of numerals from 1 through 9. Each row, column , or diagonal adds to 15, and every triple of these numerals that add to 15 is a row, column, or diagonal or the magic square. From this, it is obvious that making a book in number scrabble is equivalent to getting three in a row in the game of tic-tac-toe." - H. Simon

4
|
9
|
2

-----

3
|
5
|
7

-----

8
|
1
|
6


 
|
 
|
 

-----

 
|
 
|
 

-----

 
|
 
|