https://github.com/pianopia/onefilefps
https://github.com/pianopia/onefilefps
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pianopia/onefilefps
- Owner: pianopia
- Created: 2025-06-28T16:24:28.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-28T17:10:12.000Z (12 months ago)
- Last Synced: 2025-06-28T17:31:47.467Z (12 months ago)
- Language: HTML
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.