简体   繁体   中英

Which Python module for make game?

I'm new to python I want to make snake game using python but there are many ways that I found on the internet.

They use a different kind of modules like curses, pygame, and tkinter. I want to make snake AI implementing Path finding algorithm. Since I'm new with this programming language. What would be the best to code this?

Well, you can develop a simple snake game using two libraries, pygame and random You can check this link the author has done a nice snake game. Also, see this nice repo on github steins_snake.ai

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM