Skip to content

anthonychavis/pig_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pig Game

2 player, button-based game

Table of Contents

Introduction

The goal of the project was primarily to practice javascript functionality. Additionally, I wanted to practice CSS Grid layout and utilizing CSS Variables. From creating my layout and selecting the colors, to adding in a modal window to explain how the game is played, I had a lot of fun building this project!

Although I completed this project and made it my own, a while ago, I continue to work on it as I think of different ideas and get feedback from new users. Recently I made changes to enhance the visual cue of the change in players' turns. Additionally, I added a delay in button functionality for the "hold" & "roll" buttons to inhibit a player from accidentally using the next player's turn.

Technologies

  • JavaScript6
  • CSS3 - Grid, Flexbox, Variables
  • HTML5

Launch

Site for the game

Illustration

Example of mobile portrait Example of mobile landscape

Sources

This project was based on The Complete JavaScript Course 2022: From Zero to Expert!, by Jonas Schmedtmann - Original Project Source Code.

The README layout was inspired by Rita Łyczywek

Contact

Created by Anthony Chavis.