On Object-Oriented Language and Writing Code That Makes You At Least A Little Bit Excited

The journey from 0 to now.


I guess I’m in a pretty different place than where I was last time now. My goal is to update this more regularly, but the past month or so has been absolutely insane where I work on top of all the cooking and family and friends stuff that comes with the days surrounding holidays. As it is, everything has been going well but I took a short break from doing too much self-work.

But I still have some things to show for my time away! Last time I was around I showed off grid generator code based on user input and was mostly talking about using code to limit the ability of the user to break your code. I also spoke a bit about how if __name = ‘__main__’ and how I know it’s important but it’s gibberish to me. I now have a way better hold than that and it’s becoming second nature.

I also started working on an adventure game. That’s the code I want to work the most on but took a break from. I have learned quite a bit more about lists, tuples and dictionaries and started using a dictionary format to make my game. I made a small bit of commented out code that uses a dictionary and I plan on expanding that to include the rest of the game. Here’s a link to my coding progress in the game:

https://gist.github.com/uriah-sayres/7330149

Also, I started learning on how to get information from servers! In class we worked on writing some code that uses Google Maps’ JSON response to collect the address of the location of the class. Here’s that code:

https://gist.github.com/uriah-sayres/7933268

Here’s another bit of code I made for a class exercise. The goal was to mostly have your computer speak and “teach it to count.” Here’s the result of that:

https://gist.github.com/uriah-sayres/7226478

And a dart game:

https://gist.github.com/uriah-sayres/7933375

My attempt at Pythonic fizzbuzz:

https://gist.github.com/uriah-sayres/7933405

And mostly importantly, I started learning how to work with an object-oriented language. I made a card game of War using objects. It’s still in progress, but I’m also planning on going through my previous code and if it makes sense to use objects instead of dictionaries, functions, et cetera, I’ll work on updating them and making them object-oriented. Until then, here’s my first object-oriented code:

https://gist.github.com/uriah-sayres/7933436

In other news, I’m looking to apply to App Academy and a few other accelerator programs. I’m finally at a point where I really feel like I need to take the leap. I’m currently working part-time until I can find better employment doing something that is challenging and fascinating to me but I really need out. I’m meeting some great people through the resources I’m using and I feel like I’m going headstrong in the right direction. I’d love correspondence with any others who have tips, suggestions, hints, or just a word of encouragement. See y’all soon.

P.S. — Follow me on Twitter @UriahSayres.

Email me when Uriah publishes or recommends stories