mirror of
https://github.com/solcloud/Counter-Strike.git
synced 2025-03-15 21:19:40 +01:00
Simplified setup instructions
This commit is contained in:
parent
dea5c59869
commit
079412760b
19
README.md
19
README.md
@ -23,7 +23,7 @@ _This is low violence game so there is no red blood, animal killing or similar v
|
||||
|
||||
### Client
|
||||
|
||||
Download executable asset for your platform from the [latest release](https://github.com/solcloud/Counter-Strike/releases/latest), or build latest locally from project source folder.
|
||||
Download executable asset for your OS platform from the [latest release](https://github.com/solcloud/Counter-Strike/releases/latest). Or build by yourself locally from the project source folder.
|
||||
|
||||
```bash
|
||||
cd electron/
|
||||
@ -31,19 +31,6 @@ npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Or you can play using modern Web Browser - just open `www/index.html` in your favorite browser, but for that you will also need WebSocket UDP bridge.
|
||||
|
||||
```bash
|
||||
php cli/udp-ws-bridge.php 8081 # will start WebSocket listener on localhost:8081
|
||||
```
|
||||
|
||||
CORS policy might require web server running.
|
||||
|
||||
```bash
|
||||
php -S localhost:9000 -t www/
|
||||
open http://localhost:9000
|
||||
```
|
||||
|
||||
### Server
|
||||
|
||||
Currently, there is no official public server available (as match making service is also WIP), but you can run server yourself (or somebody can host it for you).
|
||||
@ -53,8 +40,6 @@ composer install -a --no-dev
|
||||
php cli/server.php 2 # will start server waiting for 2 players to connect
|
||||
```
|
||||
|
||||
Enabling PHP's JIT compilation should give a performance boost, so we recommend doing that.
|
||||
|
||||
## Help us
|
||||
|
||||
If you know html/css/js/php languages or 3D modeling/texturing/animation you can join project and help us improve this game quicker.
|
||||
If you know html/css/js/php languages or 3D modeling/texturing/animation you can join the project and help us improve this game quicker by sending a pull request.
|
||||
|
Loading…
x
Reference in New Issue
Block a user