Link to the exercises I’ll be working through from the Breaking IT Down Blog.

Now that I’ve laid the groundwork for some of the differences (and mostly similarities) between C# and JavaScript, I’m going to refactor the first exercise from the worksheet to be more Object Oriented. There are a few ways to do this, so I will show different approaches.

Creating A Class

When I was learning JavaScript, something my instructors always said was that everything in JS is an object, even if it isn’t. What they meant was that everything in JS is an instance of a “prototype” object, which is…


Link to the exercises I’ll be working through from the Breaking IT Down Blog.

This is part three in a series I’m writing working through some basic exercises in C# as a JavaScript developer. The same disclaimer applies to this article that applies to the others. Though C# is built around Object Oriented Programming, I won’t be using OOP principles in the code examples in this article. I’m using these exercises to demonstrate the differences and similarities in syntax between JavaScript and C#, and I’ll be refactoring the code later to be more in line with OOP’s practices.

If you…


Link to the exercises I’ll be working through from the Breaking IT Down Blog.

Link to previous article

This is the second article in a series as I work through the basics of C# as a JavaScript developer. As before, though C# is built around Object Oriented Programming, I won’t be using OOP principles in the code examples in this article. I’m using these exercises to demonstrate the differences and similarities in syntax between JavaScript and C#, and I’ll be refactoring the code later to be more in line with OOP’s practices.

Exercise Two

The tasks in each exercise will be in…


Link to the exercises I’ll be working through from the Breaking IT Down Blog.

When I began learning JavaScript, I couldn’t imagine learning something more challenging. I am not a person that naturally took to programming, but I am very stubborn. I was able to get through the difficult beginning and now I can look at some JS code and know what is going on there and how to fix it if it’s broken.

Over the years I have thought I might benefit from learning another language, but the idea of starting from scratch always struck fear into my heart…


Welcome back! This is part IV of a series I’m writing on my approach to creating a cribbage platform using Firebase Realtime database and an express server. In the last piece, I showed my approach to dynamically creating shareable urls using Node’s fs module and dynamic routing. In this piece, I will cover some cleanup from that process to ensure that the server’s file structure does not get too out of hand.

First I’ll cover how to delete the unique Firebase node after the game is finished. …


This is part 3 in a series about making an online cribbage game using the Firebase Realtime Database. In part I, I set up a Firebase Database and created a virtual deck of cards with a shuffle method. In part II, I covered the rule of using firebase events to change the database and having the database control the DOM. In Part III I will start to show my approach to making a server that will create a unique and shareable url that allows people to play cribbage with another person no matter where they are in the world!

In…


This is a continuation of a previous article that showed the basics of an approach I’m trying with the Firebase realtime database to create a webpage that lets me play cribbage with friends and family. It’s my hope that this page will allow me to stay close with people I haven’t been able to see in person for most of 2020, and learning a new skill is always exciting, so let’s go!

SIDE NOTE: The full rules for cribbage can be found here. Be warned, the rules are kind of intricate but they are fairly intuitive. …


The Firebase Realtime Database is one of my favorite things on the internet. You can watch in real time as people interact with your code, and the screen lights up as the data changes. After learning about Firebase, I had an idea: could I use it to make a card game to play remotely with someone else? I decided to challenge myself and create a platform that would allow me to play cribbage over the internet. My parents first taught me cribbage when I was very young to help me learn basic math. It’s fun, but has a lot of…

Myles Tyrer

I’m a web developer focusing on interactive projects using React and Nodejs.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store