DEV Community

arqamgrt
arqamgrt

Posted on

audio game development for visually impaired

Hi everyone. This is my first ever post here.
I'm visually impaired born in Pakistan. I love to code. That's why I'm here.
I'm facing a problem, recently I’ve start learning pygame. I was trying to develop a snake game for blind/visually impaired people. by default, it is not accessible, means, if I have created a game window, If I'll print something, it will show on the screen but my screen reader will not read it.
I used a module called, accessible_output2 and created a function to make the screen reader read the output forcefully.
but when I tried to call the function, because the function is in the main loop of the game, it starts looping again and again. and I can’t put it out of the loop, because I want to print my score on the screen, or, when game will be over, I will print, "the game is over". but I could not. I have a question.
is there any better solution to make the games accessible? Someone told me about lucia too, but I don’t know how to use it, there is no any guide available on how to use this library to develop an audio game with lucia. and also, I'm a beginner in coding. but I want to learn.

Top comments (0)