pygame elipse has gone wrong


I am trying to make a simple pygame Tic Tac Toe game. The following code is not finished. All its supposed to do is to draw a 3*3 grid, where each rectangle is filled with a red X and a green ellipse.



For some weird reason, I just don't get the ellipse right and I don't know why.



needs to be:



A Rect is left, top, width, height.



Look at the documentation. You've extended the rectangle for all but the upper-left corner; the a+ and i+ modifiers should not be there, as you're referring only to a single square.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

佛陀 (漫畫)

Đế Bá

文学批评