Matt Morris

Published on

Two Dice Pig web application

Authors
  • avatar
    Name
    Matt Morris
    LinkedIn

Overview

This project is a simple web application featuring the classic dice game, Pig, specifically the version known as 'Two-dice Pig.'

The inspiration came from one of the vanilla javascript projects in Jonas Schmedtmann's excellent Udemy course The Complete JavaScript Course 2025: From Zero to Expert! I highly recommend this course for anyone seeking to learn Javascript for the first time or use to brush up their skills.

The first version used React with vanilla JS (here is the original project). Then, I wanted a responsive UI and a computer opponent, so I decided to start from scratch and use a NextJS template including a React + TypeScript + Tailwind + RTK + eslint + Vite boilerplate for the final product, here: https://2-dice-pig.netlify.app/

Skills / tools used

  • HTML

  • CSS

  • Javascript

  • React

  • Redux

  • UI/UX design & development

  • Algorithm design

  • Game design