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

https://github.com/pianopia/onefilefps


https://github.com/pianopia/onefilefps

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# One File FPS

This is a simple 3D First Person Shooter (FPS) game contained in a single HTML file.

## Gameplay

The objective of the game is to destroy all the targets as quickly as possible.

- **Movement:** Use the W, A, S, and D keys to move around the map.
- **Jumping:** Press the SPACE key to jump.
- **Look:** Use the mouse to look around.
- **Shooting:** Click the left mouse button to shoot.
- **Reset:** Press the ESC key to reset the game at any time.

## Scoring

- **Score:** The number of targets you have destroyed.
- **Time:** A timer starts as soon as you begin the game and stops when you destroy the last target. Your final time is displayed upon completion.

## How to Play

1. Open the `index.html` file in a web browser.
2. Click the "Click to start" button to begin the game.
3. Destroy all the targets to win.