PDA

View Full Version : Giraffe: An ancestor of AlphaZero



FM_Bill
01-02-2018, 10:28 PM
Here are some games between my engine Simple versus Giraffe, written by Matthew Lai of the AlphaZero team.

The time limit was a minute a game. My engine won 7 - 3.

Its possible to view the source code to gain some glimpses into how AlphaZero works.

rn2kb1r/pp2pppp/1qp5/3nP3/8/2NB1Q1P/PPP2PP1/R1B1K2R b KQkq - 0 9

In this position Black played 1...Nxc3 which Giraffe met with 2.e6! and after 2...fxe6 3.bxc3 had a lot for the pawn. A deep sacrifice for less than one second per move.

Kevin Bonham
02-02-2018, 08:27 AM
PGN viewer often doesn't cope very well with having large amounts of other notation and numbers in between the moves.

FM_Bill
02-02-2018, 08:33 PM
r1bqr1k1/p1pp1p1p/2n3pB/4P3/1b2Q3/3B1N2/PP3PPP/R2K3R w - - 0 15
Giraffe has misplaced its King by playing Kd1 to evade check. After Bc4 d5! and White lost in a few more moves. Giraffe largely played well positionally, though tended to get pummelled in the tactics.