NerdyVisky / the_forbidden21_game

The Forbidden 21 Game, made using HTML5, CSS5, Vanilla JS which can be played on two difficulty modes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Forbidden 21 Game

The Forbidden 21 is a numeric brain-game played between the user and the computer with the sole motive of avoiding to choose the number 21.

How to Play

Rule 1: You and the computer have four number choices

The user goes first and selects one of the four number options. It is compulsary to choose a number during each turn for each player. The game will end at number 21.

Rule 2: The total counter increases on each choice

After the user move, the computer chooses one number from the next set of four numbers. This cycle continues with the 'Total' counter being updated after each move.

Rule 3: Avoid choosing number 21 at all costs!

As the counter moves closer to 21, the user must play in such a way that he/she can avoid choosing number 21 and play smartly to make the computer compulsarily choose 21. The player which has to choose 21, LOSSES the game.

Game Features

  • Can be played on two difficulty levels: Easy and Hard.
  • Can be played on any device with varied viewport dimensions.
  • Has a three-page structure for a smooth play/exit/reset of the game.

Game-Play Screenshots

About

The Forbidden 21 Game, made using HTML5, CSS5, Vanilla JS which can be played on two difficulty modes.


Languages

Language:CSS 45.5%Language:HTML 32.8%Language:JavaScript 21.7%