An open API service indexing awesome lists of open source software.

https://github.com/pasek108/deerkiller

A fast-paced arcade racing game. The player must survive for as long as possible by weaving through traffic and hunting deer to achieve high scores.
https://github.com/pasek108/deerkiller

arcade-game canvas-game deers racing-game

Last synced: about 1 month ago
JSON representation

A fast-paced arcade racing game. The player must survive for as long as possible by weaving through traffic and hunting deer to achieve high scores.

Awesome Lists containing this project

README

          

DeerKiller




A fast-paced arcade racing game. The player must survive for as long as possible by weaving through traffic and hunting deer to achieve high scores.


# Overview :sparkles:

## About
DeerKiller is a 2D arcade game built with Vanilla JavaScript and the HTML5 Canvas. It features a fast-paced "infinite-road" gameplay loop where players must navigate through traffic and run over deers to get bonus points and charge slow-motion ability.

Check out the [live version](https://artur-pas.000webhostapp.com/DeerKiller/).

![preview](/_for_readme/preview.png)

## Features
- Enemies: high-speed cars that trigger explosions and life-loss on collision.
- Deers: bonus targets that provide extra points when hit.
- Invulnerability period after taking damage.
- Slow-Motion mechanic.
- Four levels of difficulty.
- Highscores for each difficulty.
- Smooth animations and trasitions.
- Seamless restart.

## Technologies
- HTML 5
- CSS 3
- JavaScript


# Details 📜

## UI & Application Flow

### Main menu
After the opening animation, the user is presented with the main menu. From here, the user can toggle sound in the top-right corner or navigate through the difficulty, high score, and credits windows.

![main menu](/_for_readme/main_menu.png)

----------------------------------

### Top score
The high score window allows players to view their top 10 personal records for each difficulty level. (Global leaderboards are currently disabled due to hosting limitations).

![top_score](/_for_readme/top_score.png)

----------------------------------

### Credits
The credits window acknowledges the resources used in the game and provides links to their original sources.

![credits](/_for_readme/credits.png)

----------------------------------

#### Difficulty
In the difficulty window, the user can select their preferred level of challenge before starting the game.

![difficulty](/_for_readme/difficulty.png)

----------------------------------

### Game
The game begins with a 3-second countdown. Players must avoid traffic (red cars) and run over deer to earn bonus points. For every 3,000 points earned, the player receives an energy point. These points can be exchanged for slow-motion usage (1 energy point = 1 second).

![game](/_for_readme/game.png)

Players start with 3 lives. If hit by an enemy car, the player loses a life, the enemy vehicle explodes, and the player receives a 3-second invulnerability shield.

![game_hit](/_for_readme/game_hit.png)

----------------------------------

### Game over
Once all lives are lost, the Game Over screen appears. This allows the user to save their score locally or return to the main menu.

![game over](/_for_readme/game_over.png)