-
Continue reading →: Countdown (JavaScript)JavaScript has a function called Date() which can either return todays date (24th September 2018 as I write this) or be used to set a date. August 2019 has an important event for me, so I decided to use JavaScript to create a countdown that counts how many days are…
-
Continue reading →: Tabs versus Spaces
This evening whilst setting up ESLint I was asked the question of which I preferred, tabs or spaces and instantly I thought of this: Tabs versus Spaces from HBO’s Silicon Valley Season 3 Episode 6. What is it all about? When writing code there are times when the code…
-
Continue reading →: Astro Pi (Raspberry Pi)During Autumn 2017 the Code Club I was running took part in Astro Pi 2017/18, as discussed in my blog post: https://geektechstuff.com/2018/01/31/astro-pi-mission-zero-day-2018/ . The great news is that the Astro Pi 2018/19 challenges are now live! If you want to take part please make sure to visit the official website: https://astro-pi.org…
-
Continue reading →: BlackJack Part 2 (JavaScript)I managed to finish my JavaScript console version of BlackJack which I started just over a week ago (see BlackJack V1). I got a little bit lost with the while looping and then needed to define how the player wins or loses but I think it now works as expected.…
-
Continue reading →: Binary (GTV2)
Binary is a base 2 system which uses 1s and 0s to represent on and of. All programsr are turned into binary.
-
Continue reading →: ARM Assembly Code (Raspberry Pi)On Saturday 8th September my son and I visited my local Pi Jam in Manchester, where Jack Kelly (Twitter: @SecretImbecile) was giving a workshop on ARM assembly code. Before I continue I would recommend readers to give the Crash Course Computer Science video below a quick view as it explains registers,…
-
Continue reading →: National Coding Week (17th September 2018)Monday 17th September 2018 sees the start of National Coding Week. National Coding Week is all about encouraging people to give coding a go and with that in mind, and to help encourage anyone that reads my site and has not yet tried coding I thought a pre-National Coding Week…
-
Continue reading →: BlackJack Part 1 (JavaScript)Looking for a new project in JavaScript that I have not done in Python, I got to thinking about arrays. As JavaScript allows us to generate random numbers and store variables (see “Scissor, Paper, Stone”) it should allow me to also recreate the card game of Blackjack or 21. For…
-
Continue reading →: Scissor, Paper, Stone (JavaScript)One of the earlier programs I wrote in Python was Scissor, Paper, Stone. It’s an old game that most people learn as a child, the premise of which is; There are two (2) players. Each player must make a secret choice from 3 options (Scissor, Paper or Stone) The players…
-
Continue reading →: Cron / The MagPi Magazine (Raspberry Pi)During my last post on Cron I hoped that my work may appear somewhere other than my website. Good news readers, my introduction to Cron is being published within The MagPi magazine issue 73 (September 2018). From the 30th August 2018 the issue can be purchased for £5.99, purchased on the Google…





You must be logged in to post a comment.