https://github.com/victorqribeiro/bangbang
Play BangBang against a Neural Network
https://github.com/victorqribeiro/bangbang
game javascript neural-network
Last synced: 10 days ago
JSON representation
Play BangBang against a Neural Network
- Host: GitHub
- URL: https://github.com/victorqribeiro/bangbang
- Owner: victorqribeiro
- License: mit
- Created: 2021-12-24T22:59:50.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-24T05:53:17.000Z (over 3 years ago)
- Last Synced: 2025-03-30T23:11:28.907Z (about 2 months ago)
- Topics: game, javascript, neural-network
- Language: JavaScript
- Homepage: https://victorribeiro.com/bangBang/
- Size: 47.9 KB
- Stars: 101
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# BangBang

[live version](https://victorribeiro.com/bangBang)
[alternative link](https://victorqribeiro.github.io/bangBang/)## About
Play BangBang against a Neural Network (Dejavu, a toy neural network that I wrote myself).
The Neural Network is fresh each round, it will shoot at random at the first time then it will learn how to improve it's accuracy, until it hits you; if you don't hit it first.## How to Play
### On Desktop
**Left** and **Right** arrows **rotate** the cannon. **Up** and **Down** arrows increase and decrease the **strength** of the projectile. **Spacebar shoots**.
### On Mobile
**Touch and drag up and down** on the **right** side of the screen to **rotate** the cannon.
**Touch and drag up and down** on the **left** side of the screen to adjust the **strength**.
**Tap the screen** to **shoot**.