Conditionals

This week I started out with an idea. I wanted to make a city building with windows. I wanted to control the building size and from that size control how many windows the building had. This Sunday afternoon I was still having trouble with my deadline approaching I had to switch gears. I hope the focus of our lessons is not to make a finish product but to learn from our lessons. I dove in too deep into the building and was overwhelmed with the math it took to reach my goal.

I restarted by making a Tic-tac-toe game. I thought this would be closer to what the assignment goal was. Plus, it sounded interesting after our reading of “The Pattern on the Stone”. I was able to make the board and I have the player click on in to place an “O” on the board. This was done with if statement or condition that get the mouse position and places a drawing of “O” on the board. Unfortunately, I didn’t have time for adding any other logic but some of it would be an easy add later.

What I learned was to know my strength and be more focused on my time limitation. I learned a lot about conditions. This will help me in my personal life as well as my professional work.


Scaling Building with windows


Tic Tac Toe