Simplified setup instructions

This commit is contained in:
solcloud 2023-10-15 13:28:46 +02:00 committed by GitHub
parent dea5c59869
commit 079412760b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.