Final Project Progress Report 2
So basically I continued working on my game.
Here are some screenshots:
- Describe briefly what I’ve done
Today, I made the functions even more complicated by adding more detail. When I first tried the beginning of the game yesterday, I realised that there were lots of flaws. I fixed them and one example would be by asking the user to input a number, every number must be different, therefore I had to make a code that inhibits them from entering the same number twice. There are many ways to do this but I used the while loop, for example,
while (x == False): guess_col_general = int(raw_input ("Insert general col:")) if hello[guess_row_general][guess_col_general] != "O": print "Sorry, this spot is already occupied" x = False else: x = True hello[guess_row_general][guess_col_general] = "G"
My code currently stands at around 160 lines but I still needs a lot of work. Everything is going to plan and this first prototype I’m building now seems quite cool (I think). In the next few days, I will finish this prototype, adding more codes and functions, and hope to let some people play it, to get some feedback. I am very excited to see the final product and right now, I am currently around 40%-50% done.
- Other resources you came across in this learning process (e.g. a post from a discussion forum, an advice from your friends/classmates).
I reviewed the lessons on codecademy and used some YouTube videos.