JavaScript and Canvas Games Collection

A collection of fun and interactive browser games built with JavaScript.

Dice Game(Javascript)

Type: Two-player dice game

How to Play:

  • Players take turns rolling a dice.
  • Each roll adds to the player's current score.
  • If a player rolls a 1, they lose their current score and it becomes the next player's turn.
  • A player can choose to "Hold" to add their current score to their total score and pass the turn.
  • The first player to reach a total score of 30 wins!
Play Pig Game

Guess My Number(Javascript)

Type: Number guessing game

How to Play:

  • The computer picks a secret number between 1 and 20.
  • Enter your guess and click "Check!" or "Enter Key"
  • The game will tell you if your guess is too high or too low.
  • You start with a score of 20, which decreases with each wrong guess.
  • Try to guess the number with the highest score possible!
  • The highscore is saved between games.
Play Guess My Number

Popcorn Popping Game(Canvas)

Type: Click and pop game

How to Play:

  • Popcorn kernels appear randomly on the screen.
  • Click on the kernels to pop them and earn points.
  • You have 60 seconds to pop as many kernels as possible.
  • Kernels move around, making them harder to click.
  • Try to get the highest score before time runs out!
Play Popcorn Game