What we did:
Day 2 of chess. A significantly better day in terms of project progression. Yesterday we had finished the user interface and getting the pieces on an 8x8 grid.
Today we were able to incorporate a lot of the game mechanics into our program. For example, using a cursor we were able to highlight each piece’s valid move that was specific to that piece. Once a user highlighted that piece, it showed the valid moves of where that piece would be able to go. For example if you highlighted a bishop, it would highlight the valid diagonal directions! Mind blown! Never in a million years would I have thought to been able to process that kind of calculation considering i struggled in calculus in college.
The next step was mapping out the check and checkmate paths which was confusing to plan out. There are a lot of considerations to count in since placing a “check” on a chess board affects both your play state if you have the king in check as well as the play state of your opponent. I definitely give props to game designers and developers this stuff is complex!
And the 2nd assessment topic was announced… apparently we have to create a semi-working card game in 1 hour time limit… Not looking forward to that… but gives me some excuse to play this card game for a couple hours to figure out game mechanics.
Topics where I struggled:
Ideally I would like to write more legible algorithms and be able to think through my algorithms in better detail and get the picture faster.
Felt a lot more improved:
Structuring the code and organizing into downloadable sizes.
Code that == Mind Blown!
Array.flatten.any? Flattens or if you have an array of arrays takes away all the brackets so you just have the elements with which you could see if any of those elements match what you’re looking for or put a condition.
How I’m feeling:
It’s been about 10 days since I’ve been enrolled in a/A and I have to say it’s exhausting. Spending 12 hours a day thinking about code while it was expected is unexpectedly exhausting.
5/10
Code Music
Oldie but a goodie. I consider them the first house DJ group I started listening to back in 2009! If you need some strong pump up music to get your blood going:
https://soundcloud.com/katskratch/the-twelves-essential-mix?in=the_real_yoshi/sets/house
Interesting Sidenote
I’m taking care of 3 cats right now as I house sit for my friend… And I must say it’s been quite the interesting experience.
Checkout my projects!
https://github.com/theRealYoshi
I’m taking suggestions!
https://yoshihiroluk.typeform.com/to/ilJBBy