Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ounai/tykkipeli-server

Node.js server implementation for the Aapeli/Playforia classic cannon game
https://github.com/ounai/tykkipeli-server

Last synced: 4 days ago
JSON representation

Node.js server implementation for the Aapeli/Playforia classic cannon game

Awesome Lists containing this project

README

        

# tykkipeli-server
*Tykistöjohtajana valttejasi ovat ballistiikkaopit ja nopeus. Huomioi tuuli!*

This is a Node.js server implementation for the Aapeli/Playforia classic cannon game. A slightly modified game client (build can be found under releases) is used.

[DB Diagram](https://dbdiagram.io/d/61334090825b5b0146f2ccec)

## How to play

### Running the server
1. Clone the repository
`git clone https://github.com/ounai/tykkipeli-server.git && cd tykkipeli-server`
3. Install dependencies
`npm i`
5. Run the server
`npm start`

By default the server will listen to incoming connections on `localhost:4242`, this can be changed with environment variables:
`ACANNONS_IP= ACANNONS_PORT= npm start`

### Running the client
1. Make sure you have Java installed.
2. Download the client from [releases](https://github.com/ounai/tykkipeli-server/releases).
3. Unzip and run the client.
4. Type nickname and server IP (e.g. `xx.xx.xx.xx:`) to the launcher.
- If no port is given (e.g. `xx.xx.xx.xx`), the port will default to `4242`.
- Leaving the IP field blank will default to `localhost:4242`.
- Leaving the nickname field blank (or giving a nickname that is already in use) will default to an anonymous nickname.
6. Click "Go" to launch to game, it will connect to a server running on the given IP.

## Screenshots
![Screenshot 1](https://github.com/ounai/tykkipeli-server/assets/19166017/e2dc249d-9de1-424c-b40d-dfcac0238b50)
![Screenshot_2](https://github.com/ounai/tykkipeli-server/assets/19166017/548583a8-a388-44bc-a3a6-b5847a956b99)
![Screenshot_3](https://github.com/ounai/tykkipeli-server/assets/19166017/07669eb1-57ff-4244-9393-54b8459b9f94)
![Screenshot_4](https://github.com/ounai/tykkipeli-server/assets/19166017/ab3fb271-27be-4bca-a43b-a28bb8e0451f)