0
Don't adding color on Pycharm when creating game windows
Hi guys. I am learning how to create simple Snake game on Youtube. I do like showed on video clip, step by step. But I am getting two issues: When I'm drawing game window, I define one block should be 'white' WHITE = (255, 255, 255) another one - 'blue' BLUE = (153, 0, 153) . White ok, but blue doesn't shows on screen. Same thing with snake, I define snake color SNAKE_COLOR = [255, 255, 11], but it's not appear on screen. Any thoughts? https://code.sololearn.com/cz4Me8ElASH9/#py
1 Resposta
+ 1
I am not really good in the pygame module but delete the code draw_block below the else statement. Run your code again check if it works.