Skip to main content
Nicole Logan - Homepage
Nicole Logan
Back to Projects
concepts / design • 2024
WEB CASE STUDY

Browser Puzzle Game

A fresh, colourful take on a classic sliding-tile puzzle.

ROLE Developer
CLIENT BCIT - Scripting 1 Course
TIMELINE 1 month
YEAR 2024
Disciplines & Tools
JavaScript Game Development DOM Manipulation UI Design CSS
Browser Puzzle Game primary showcase mockup

01 // Project Overview

For my BCIT Scripting 1 course, I set out to recreate the addictive gameplay of 2048 while giving it a distinct visual identity. I designed and developed the entire game as a solo project, from the interface to the underlying logic. I implemented the core mechanics myself, including tile movement, merging, random tile generation, and score tracking. The project strengthened my skills in DOM manipulation, event handling, and game state management, and I focused on writing clean, maintainable code that could support future features such as mobile controls.

● The Challenge

Building the tile movement and merging logic from scratch meant planning for many edge cases, while keeping animations, score updates, and win or loss detection accurate as the game grew more complex. Designing an appealing interface using only CSS, and balancing difficulty so the game felt as engaging as the original, also took careful iteration.

● The Solution

I mapped out the movement and merge logic step by step, tested edge cases through repeated play, and organized the code into readable, maintainable sections. Custom CSS gave the tiles a clear visual hierarchy, while refinements to tile generation and movement timing helped the gameplay feel smooth and balanced.

02 // Key Implementation Highlights

01.

Game Logic From Scratch

Built tile movement, merging, random tile generation, scoring, and win/loss conditions using vanilla JavaScript.

02.

Custom Interface Design

Designed a bold, colourful interface with distinctive numbered tiles and a clear "How to Play" screen.

03.

Clean, Scalable Code

Structured the project for readability and future enhancements, including potential mobile support.

03 // MEASURABLE OUTCOMES

Impact & Key Metrics

0.5 s
Speed Index
0 ms
Total Blocking Time
99%
Lighthouse Performance
100%
Lighthouse Best Practices

04 // Visual Showcase & Design Artifacts

Game Instructions — visual artifact for Browser Puzzle Game
Game Instructions
Game Over — visual artifact for Browser Puzzle Game
Game Over
Colour & Type — visual artifact for Browser Puzzle Game
Colour & Type

05 // Technical Specifications

Languages Vanilla JavaScript, HTML5, CSS
Input Keyboard arrow-key controls, handled with event listeners
JavaScript Concepts DOM manipulation, event handling, and game state management
Platform Currently desktop only

Do you like what you see?

Let's discuss how we can bring your idea to life.

Start a Conversation →