---
title: "Build a dinosaur runner game with Deno, pt. 2"
url: https://daily.dev/posts/build-a-dinosaur-runner-game-with-deno-pt-2-u2cchsr1t
source_url: https://deno.com/blog/build-a-game-with-deno-2
type: article
source: "Deno"
published: 2025-12-15T17:06:58.193Z
updated: 2025-12-15T17:07:24.427Z
tags: ["javascript", "game-development", "html", "deno"]
reading_time: 12
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Build a dinosaur runner game with Deno, pt. 2

**[Deno](https://daily.dev/sources/deno)** · 12 min read · 1 upvotes · 0 comments

## Summary

Part 2 of building a dinosaur runner game covers implementing the core game mechanics: setting up an HTML5 canvas, creating a game loop with requestAnimationFrame, adding keyboard and mouse controls for jumping, implementing basic physics (gravity and velocity), and rendering a simple animated character. The tutorial walks through the complete game engine structure, event handling, physics calculations, and deployment to Deno Deploy.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://deno.com/blog/build-a-game-with-deno-2>

## Similar posts on daily.dev

- [Build a dinosaur runner game with Deno, pt. 5](https://daily.dev/posts/build-a-dinosaur-runner-game-with-deno-pt-5-xlewaw9sa) · Deno · 1 upvotes · 0 comments
- [Build a dinosaur runner game with Deno, pt. 1](https://daily.dev/posts/build-a-dinosaur-runner-game-with-deno-pt-1-x5vkg7eu0) · Deno · 4 upvotes · 0 comments
- [Build a dinosaur runner game with Deno, pt. 6](https://daily.dev/posts/build-a-dinosaur-runner-game-with-deno-pt-6-f1qmmvqk6) · Deno · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#game-development](https://daily.dev/tags/game-development), [#html](https://daily.dev/tags/html), [#deno](https://daily.dev/tags/deno)

[View this post on daily.dev](https://daily.dev/posts/build-a-dinosaur-runner-game-with-deno-pt-2-u2cchsr1t)
