DEV Community

Cover image for We build a T-REX RUN! Game in JavaScript
Ania Kubow
Ania Kubow

Posted on

6 1

We build a T-REX RUN! Game in JavaScript

Hello and welcome to another JavaScript Game Walkthrough!

In this walkthrough, I show you how to build the popular Dino Chrome Game in pure JavaScript, HTML and CSS, no fancy frameworks required! We also will not be using Canvas, we are going to be using pure JavaScript logic for everything!

I like this tutorial as we really focus on nodes, so adding Children to parents using .appendChild(), but also removing them using .removeChild() and a few others.

I will also be showing you how to make sure your code is the best possible version of itself it can be by using a platform called Embold. I will walk you through this step by step at the end so make sure not to miss.

UPDATE:
I collaborate with Embold and they provide us with a 20% off discount code as well!
Code: GB546C10
Website link: https://bit.ly/embold-platform

Thanks for coding along with me! I would love to see your finished games, how you have taken them to that extra level! Please do share them with me on Twitter, Instagram, or Youtube!

https://www.youtube.com/aniakubow
https://www.twitter.com/ania_kubow
https://www.instagram.com/aniakubow
Code Editor: VSCode
keyCodes: https://www.keycode.info

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)