Sign in
Log inSign up

Has anyone here written the code (or tried to write the code) for a game of chess?

Siddarthan Sarumathi Pandian's photo
Siddarthan Sarumathi Pandian
·Mar 5, 2017

Anyone who has a degree in Computer Science must be aware of the N-queens problem. I think Chess is just an extension of that.

I played Chess after a long time today (sadly, I lost). I was thinking if I had an algorithm ready, I would never lose. Interestingly, I think if two well written codes of chess competed against each other, the game will always end in a draw.

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct