Skip to main content

Week 3

This week I continued working on the series of grok tutorials, I am currently stuck on the car colours exercise in the introduction to programming 2. I'm having trouble formulating a dictionary of the different cars after each input is put in, and how to condense it into a dictionary which is made up of a car colour and its corresponding number based on how many cars were of that colour. I may be able to write the program using lists, but dictionaries seem to be the suggested and possibly more efficient way to do it. As for the quiz assignment, I am still yet to make a start on it as I am trying to complete most of the grok tutorials to be able to write the program the best and most efficient way possible as opposed to writing it with the basic understanding I currently have. Then either leaving it like that and getting fewer marks due to it being inefficient or having to change the program every time I learned something new that would have been a better more efficient way to write the program, which in turn, would lead to more time consumed and an overall more inefficient production method.

Comments

Post a Comment

Popular posts from this blog

Final Post

This past week I've been working on fixing issues with the program to make it run as smoothly as possible. I didn't think I would get the stats for nerds page done and was going to scrap it so I could focus on getting the documentation done and fixing the minor issues so it would be more polished but I decided to do the stats for nerds page anyway and spent the past day and a half working on it. The notable issues from its development were mainly around gathering the data, in which I found some other errors in how I was collecting data such as not updating the data files when quitting the program. But i managed to finish the page as well as the rest of the program. My final solution was reasonably successful in comparison to my proposal and design, the only main things that I wasn't able to achieve was customisation of genome numbers and generation size and stuff like that, but that would have required a lot of digging through files in the libraries I was using to edit th...

Week 13

this week I’ve been mainly focused on effectively parallelizing my AI so it can run multiple tests at once and be a lot faster, however I’m having trouble interacting with the neat library in order to do this as during some of its processes I need other functions to help me keep track of different things within the program, so I’ve been trying to work out how to edit the library and I’ll continue to work on that this week and hopefully have a finished AI soon enough.

Week 16

This week I worked on getting more of the interface and data collection work. I worked mostly on the view existing AIs page, getting the AIs to blit little buttons on the screen for interaction. I had an issue with data storage in text files but was able to fix it since I was writing to the text file when I was viewing it, which made it blank. This week ill continue to work on those pages, hopefully getting some functionality in those pages.