Giter VIP home page Giter VIP logo

javascript-cpps's Introduction

Javascript-CPPS

How to set-up

  1. Download the ZIP file of the master branch.
  2. Copy it to any directory(preferrably C:)
  3. Unzip the file
  4. Rename your extracted folder to something simpler(example - 'cpps')
  5. Open up the cpps folder
  6. Download NodeJS (https://nodejs.org/en/)
  7. Once the installation is finished, press Windows Key + R
  8. Type in 'cmd' and hit enter
  9. Direct yourself to the cpps folder using the 'cd' command(for me it would be '**cd C:\cpps**')
  10. Type in npm init and hit enter.
  11. Keep pressing enter if it asks you any questions.
  12. Type in npm install express and hit enter. Wait for the installation to happen.
  13. Type in npm install socket.io and hit enter. Wait for the installation to happen.
  14. Type in cls and hit enter.
  15. Finally, type in node game.js and the command line window should prompt you with a 'Server started.' message.
  16. Awesome! Open up a browser and go to localhost:2000 (Remember you can only access this URL from your computer as you are hosting the server so everything is safe!)

The CPPS should start up. Please do note that this is still a work in progress you might have to do this process several times if you want to use the latest commit. Also, if you want to shut down the server, you can press Ctrl + C in the command line window at anytime.

What's next?

If you wanna play your CPPS with friends and put it up on the web, you can use free services like herokuapp and 000webhost or you could buy a custom VPS for your game. You could even host the server yourself and get a domain name!

A link to my YouTube or GitHub account would be nice! ^_^

Thank you, I hope you have fun making your own little CPPS! -PyxelPranav <3

javascript-cpps's People

Contributors

pyxelpranav avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.