Difference between revisions of "Talk:3045: AlphaMove"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
Line 35: Line 35:
  
 
Unfortunately for white, it's mate in 1 with Bb4# [[Special:Contributions/162.158.90.124|162.158.90.124]] 23:25, 31 January 2025 (UTC)
 
Unfortunately for white, it's mate in 1 with Bb4# [[Special:Contributions/162.158.90.124|162.158.90.124]] 23:25, 31 January 2025 (UTC)
 +
 +
Even if white makes a different move, its still forced mate in one. RIP XKCD Bot. [[User:Redacted II|Redacted II]] ([[User talk:Redacted II|talk]]) 00:53, 1 February 2025 (UTC)

Revision as of 00:53, 1 February 2025

Ask Tom Murphy VII to get on this 141.101.99.103 22:50, 31 January 2025 (UTC)


I have attempted to run the proposed bot against itself β€” if I haven't made any errors, here are the resulting games:

Rounding down:

 1. e4 e6 2. f3 f5 3. e5 g5 4. d4 d5 5. exd6 g4 6. d7+ Kf7 7. dxc8=N Ke8 8. fxg4 h6 9. gxf5 Kd7 10. g4 h5 11. fxe6+ Ke8 12. g5 Na6 13. h3 Nc5 14. h4 Ne7 15. Kd2 Ne4+ 16. Ke1 Nf5 17. g6 Nf6 18. g7 Ng3 19. gxf8=N Nge4 20. Ke2 Ng4 21. Kf3 Ngf2 22. Ke2 Nh3 23. Ke3 Nhf2 24. Nb6 Nh3 25. Na4 Nhf2 26. Nac3 Nxc3 27. Kxf2 Nxd1+ 28. Kf3 Qc8 29. c4 Ne3 30. Ke4 Nf5 31. Kd3 Ng3 32. e7 Nxh1 33. Kc2 Qb8 34. d5 Kxe7 35. d6+ Kf6 36. dxc7 Nf2 37. c8=R Ng4 38. Kd2 Nh2 39. Ke3 Ng4+ 40. Kd4 Nh2 41. Kd5 Nxf1 42. Nc3 Nh2 43. Nce2 Ng4 44. Nd4 Nh6 45. Nd7+ Kf7 46. Ndf3 Qd6+ 47. Ke4 Qd2 48. Nf8 Qd5+ 49. Ke3 Qd2+ 50. Ke4 Qd5+ 51. Ke3 Qd2+ 52. Ke4

Rounding up:

 1. f3 f5 2. e4 f4 3. d4 e6 4. e5 g6 5. g3 fxg3 6. c3 g2 7. d5 gxf1=Q+ 8. Kxf1 exd5 9. Ke2 d6 10. Kd3 g5 11. Kd2 dxe5 12. Ke2 d4 13. Kd3 dxc3+ 14. Ke3 e4 15. Ne2 exf3 16. Ng1 f2 17. Nxc3 fxg1=N 18. Qc2 Kd7 19. Ne2 h6 20. Qa4+ Ke6 21. Qb3+ Ke7 22. Qb4+ Ke8 23. Qb5+ Kf7 24. Qa6 Kg7 25. Qa4 Kg6 26. Qb3 Kg7 27. Qb4 Kh7 28. Qb5 Kg7 29. Qa6 Nc6 30. Nxg1 Na5 31. Qb6 Kh7 32. Qb3 Kg6 33. Qb4 Kg7 34. Qb6 Kh7 35. Qb3 Kg6 36. Qb4 Kg7 37. Qb6

Rounding down code:

 const { Chess } = require("chess.js");
 
 const chess = new Chess();
 while (!chess.isGameOver()) {
   const moves = chess.moves();
   moves.sort((a, b) => b.localeCompare(a));
   const move = moves[Math.floor(moves.length / 2)];
   chess.move(move);
 }
 console.log(chess.pgn());

To round up, swap the a and b in the sort function.

Both games end in a threefold repetition draw. The game with rounding down does, in fact, have 6 knights in it, so I believe he did code this to see what would happen.

Ohpointfive (talk) 22:52, 31 January 2025 (UTC)

To elaborate on the Tom VII point - this is the YouTube video that possibly inspired the comic: https://www.youtube.com/watch?v=DpXy041BIlA

141.101.98.179 22:55, 31 January 2025 (UTC)

Unfortunately for white, it's mate in 1 with Bb4# 162.158.90.124 23:25, 31 January 2025 (UTC)

Even if white makes a different move, its still forced mate in one. RIP XKCD Bot. Redacted II (talk) 00:53, 1 February 2025 (UTC)