Skip to content

Commit

Permalink
Simplified setup instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
solcloud authored Oct 15, 2023
1 parent dea5c59 commit 0794127
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,14 @@ _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/
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).
Expand All @@ -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.

0 comments on commit 0794127

Please sign in to comment.