Chess was invented from a thought. From that thought it polymorphed endemically. It's not the same as it was once and will probably continue to change as it gets mixed with technologies. It might have started undetected for milleniums, but as it was exposed to different countries, it became know under different names and forms, like chess notation.
Where did chess originate from? Asuming your not asking wher ethe name game form, and that your talking about the electronic chess period, then it probably originated in 1962.
www.chess-site.com/articles/making-the-first-chess-computers/If your talking about a game a millinium life times ago, good luck finding it's maker.
Who knows it might has started on sand with rocks.
Pick the time line that you think originated a game between 2 persons using sand and rocks and that could be the original thought that got the game started 2.5 million years old.
en.wikipedia.org/wiki/Timeline_of_human_evolutionwww.interaction-design.org/literature/article/a-brief-history-of-games