Gandalf is one of the many characters confirmed for Lord of the Rings: Gollum, an upcoming game from Daedalic Entertainment. The main focus of the game is around showing the dichotomy of Sméagol/Gollum's personality before Lord of the Rings. However, this timeline placement means many characters from the books (and films) can appear, and perhaps Gandalf will play the largest role in its narrative — even if he's mostly behind the scenes.
Based on the timeline of Lord of the Rings: Gollum, which traces Gollum's escape from Mordor and captivity by the Mirkwood Elves, it's likely Gandalf will be serving as more of an antagonist in the game (to Gollum, at least). During this time, as outlined in the books and in the Appendices in Return of the King, Gandalf began to suspect Bilbo had the One Ring and he started hunting after Gollum for more answers. However, at this time, Gollum wandered into Mordor and was captured and tortured by Sauron's minions.
Related: LOTR: Gollum Can Make Tolkien's Most Overused Character Feel New Again
Peter Jackson's Lord of the Rings movies skipped some of the finer details here but did an overall good job of tracing Gollum's whereabouts during Bilbo's — and eventually Frodo's — time with the One Ring. However, the movies made these events look like they took place over days or weeks, rather than years. Since Lord of the Rings: Gollum is inspired by the books, it stands to reason that the game will follow a more accurate timeline to Tolkien's work.
According to Appendix B in Lord of the Rings, Gandalf begins looking for Gollum in 3001 with Aragorn's help, right after Bilbo leaves the Shire and leaves Frodo the Ring. Gollum, however, has been captured in Mordor and isn't released until 3017. Aragorn
Read more on screenrant.com