https://github.com/bluesparrow2000/simple-multiplayer-gun-game
2D battleground!
https://github.com/bluesparrow2000/simple-multiplayer-gun-game
2d 2d-game battleground battlegrounds client gun gun-game javascript javascript-game multiplayer multiplayer-game server survive
Last synced: 4 months ago
JSON representation
2D battleground!
- Host: GitHub
- URL: https://github.com/bluesparrow2000/simple-multiplayer-gun-game
- Owner: blueSparrow2000
- Created: 2024-01-01T09:08:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-09T07:37:40.000Z (over 2 years ago)
- Last Synced: 2024-01-09T10:49:28.494Z (over 2 years ago)
- Topics: 2d, 2d-game, battleground, battlegrounds, client, gun, gun-game, javascript, javascript-game, multiplayer, multiplayer-game, server, survive
- Language: JavaScript
- Homepage:
- Size: 8.32 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## How to turn on the server:
node backend.js // turn on once
nodemon backend.js // turn every time (can refresh) script change is applied immediately
## How to log in as a client in web browser(chrome):
### URL:
localhost:3000 (port number is 3000 in default)
## nodemon installation
In admin mode, open up power shell and type:
PS C:\Windows\system32> get-ExecutionPolicy
Restricted
PS C:\Windows\system32> set-ExecutionPolicy RemoteSigned
PS C:\Windows\system32> npm install nodemon
https://velog.io/@lilclown/Error-nodemon-%EC%98%A4%EB%A5%98-%EC%9D%B4-%EC%8B%9C%EC%8A%A4%ED%85%9C%EC%97%90%EC%84%9C-%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EB%A5%BC-%EC%8B%A4%ED%96%89%ED%95%A0-%EC%88%98-%EC%97%86%EC%9C%BC%EB%AF%80%EB%A1%9C
## Requirements (install packages)
do npm install [package name] on cmd
- Node.js
- express
- socket.io
- line-circle-collison
## Sample run


## Update logs
2023.12.28 Made single play gungame
2023.12.29 ~ 12.30 Basic multiplayer game framework
2023.12.31 Added guns & ground items
2024.1.1 Added Enemies
2024.1.2 Added close combat weapons & polished the game!
~ 2024.1.4 Added walls and new features
2024.1.5 Server optimizations / Location shown when joining / Auto reload
2024.1.6 Server optimization / balance patch
2024.1.7 Added Fog of war
2024.1.8 Added Guided gun
2024.1.9 Added Armors! (reduce/absorb damage)
## Youtube sample play link
https://www.youtube.com/watch?v=cpRIU2XMYDQ