Light efect in game

Hi!

I want create a game like this https://www.youtube.com/watch?v=ARclVI1e9k8.

A great feature of this game is the “limited vision”: the player see only what the character see.

I dont know how implement this using SDL (I will use pySDL, maybe). Is there a way to do this effect of “light”, showing the map near to character?

thanks for the help

https://www.redblobgames.com/articles/visibility/

Might be overseen in the article:

Hope this helps.
-Cass