Use pygame or graphwin to make shapes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Use pygame or graphwin to make shapes

I'm trying to make an archery game using pygame. Can someone give some advice on how to make the archery board? I googled and saw some examples using graphwin but how do you use it? Do you have to download/install something before you can write import graphics? Then if i just use pygame draw function is it very tedious? Please help me. Thanks in advance

6th May 2019, 3:29 AM
Sharon Chua
Sharon Chua - avatar
3 Answers
+ 1
I think pygame works just fine for that job. 1. Check out the following link on how to install pygame: https://www.pygame.org/wiki/GettingStarted 2. This video is a good introduction to drawing in pygame: https://www.youtube.com/watch?v=nszkfvOXv4w 3. Check out my version: https://code.sololearn.com/cbfc8MLWXNNv (Hint: It won't work in Sololearn, because of the missing pygame module)
7th May 2019, 6:35 PM
couscous
+ 1
couscous ok i will take a look at the links you sent and your game. Thank you so much!!
8th May 2019, 1:32 AM
Sharon Chua
Sharon Chua - avatar
0
Chua Yee Tong, Sharon You're welcome! :)
8th May 2019, 7:17 AM
couscous