Skip to content

liyakot/AIM-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIM-Game

Description


The game is essentially a test of reflexes and speed. The essence of the game is to hit the circle that appears in different corners of the board.

The game is created with native JS, without any frameworks and libraries.

How it works


There are three screens in the game:

  1. Start game
  2. Choose a time
  3. Game board

Changing screens is done by adding or remove the up class to the screen: .screen.up { margin-top: -100vh; }

The game board looks like this:

How to make a circle appear of random size in random places on the board:

At the end of the game, the result is displayed - the number of hits on circle, and you can start the game again

Additionally


I've learned myself web development without any courses or training, so if you have any comments, I will be happy to chat with you on social networks (see my profile 🔥)