Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Servers with Git

A topic by Regal Games created Aug 11, 2022 Views: 535 Replies: 1
Viewing posts 1 to 2
(+1)

Servers And How They Will Work

WARNING: The following text is meant to be understood by developers who want to know how are servers are run.

The game server is a http-server that is a primitive-cloud-server from Git. This is run from npm and then hosted on an http site that is accessed by the game to run variables online. Communications are server-based, meaning that one client sends data through a server and is then broadcasted to other clients worldwide. This is a small server and the server may change based on the upcoming player base whether it be small or large. The primitive-cloud-server can be found here for reference.

Here is our own instructions:

1. Download Git for your platform. You can find downloads at their site.

2. Download Node for your platform. You can find their site here.

3. Open Command Prompt on Windows or Terminal on Mac. Here you will find a small black terminal for writing commands.

4. Type in "git clone https://github.com/SheepTester/primitive-cloud-server.git".

5. After that, type in "cd primitive-cloud-server".

6. After that is done, type "npm install" to get all the needed dependencies.

7. Once you are done installing, type "npm start" to run the cloud server.

8. Now your cloud server should be running. It varies but in most cases your server will start locally at: "http://localhost:3000/".  Feel free to view the printed text that has been left.

You are now ready to access your server from an HTML document, JS script, or more. Thanks for reading.

Moderator(+1)

Hey there,

The primitive-cloud-server can be found here for reference.

On that sentence you’ve misspelled “github.com” and the link is broken.

Is this your project? If so thanks for open-sourcing it. Wish you all the best!