Days 22-28: More Python and Front End Work

May 18, 2017

by — Posted in Coding

I’m not entirely surprised that I missed a full week of blogging, haha.  But I have done a LOT of coding in the last week!  Let’s see how much I can remember…


This is the final project I’ve been working on for Hackbright Prep.  While I could put in more features, I’m not sure it’s going to get much further than this by next Wednesday’s graduation…so time to keep testing to make sure it works properly.

The single player experience seems pretty solid.  It supports doubling, splitting, multiple decks, betting floats, etc.

I put in some smaller features in the last week such as letting the player input his/her name, viewing the current game rules, and allowing the player to change the rules if they would like.  I opted to try putting in more polish to the single player experience rather than attack the multiplayer because I’m scared of breaking it, but perhaps I’ll create a new branch and try it out if I feel so inclined before Wednesday.

Codefight Challenges

As my Codefight profile says, I’m slowly but surely making my way through Arcade mode.  I’m liking the fact that I can see other people’s solutions after I’ve solved it myself.  I try to read other people’s solutions so I can learn other ways to approach problems in the future, which seems to be helping a bit.

Random Quotation Generator

This is Free Code Camp’s first Intermediate Front End Development Project.  It conveniently coincided with my learning about APIs at Hackbright Prep, so it helped to figure out how to find and use an API for this project.  It was slightly painful to figure out how to use it within Codepen though, and apparently I’m not the only one with that problem.  It’s unfortunate that the final approach did not leverage the technique that Free Code Camp taught, but hey — it’s all part of the learning process.  I also dug into Twitter’s documentation to figure out how to set up a button that would allow the user to tweet the quotation.  They fortunately already have a library that handles the tweeting process once someone clicks the button on my page, so all I had to do was format the URL properly to make that happen.

Leave a Reply

Your email address will not be published. Required fields are marked *