5

A little for the styling of the GUI Add an icon to your application Tkinter has made it very easy to add an icon to any of our windows, it's a single line that makes your GUI look good. All you need to do is go to a website like this one and download any .ico file of size 16x16, I haven't tested it with other sizes and formats, but usually, you'll find ...


4

Choice of programming language It's nice to learn and experience multiple programming languages. It can even be a nice challenge to try to program something in a simpler language like C. However, what you are doing is mixing C and C++ in one program, and even the C code is not standard C, it's using GNU extensions. Mixing things like that is something I ...


3

It looks pretty good to me. I still have some notes to make. Let's start with, there are 5 arithmetic operations (per row) to do the work that 4 FMAs could do. How good or bad is that? Well basically not bad at all in the context of just a simple 4x4 multiplication, because there are also 8 loads for those 5 arithmetic operations, so the problem is the loads....


1

It is often good practice to put the main program controller in an if __name__ == "__main__": so that in case you would want to import this program in another file you would not open the window up immediately, only if you run this file directly. In your case, that controller would be the last three lines: ... self.aggression = aggression ...


Only top voted, non community-wiki answers of a minimum length are eligible