GithubHelp home page GithubHelp logo

multiplayergameroom's Introduction

MultiplayerGameRoom

How it works

  1. User keys in session code and username
  2. User either creates or join existing room.
  3. Any changes made by any users in the existing room will be seen and updated live for all other players in the same session.

How to get started

  1. Open up a new terminal in your desired folder and run "npm create vite@latest"
  2. Give the project name "MultiplayerGame" or any desired project name
  3. Select Vanilla framework and vanilla (avoid typescript)
  4. cd MultiplayerGame (or whatever project name you used)
  5. npm install
  6. Go into the folder where the new Vite files have been created.
  7. Download these GitHub repo files and replace the index.html file. Place the other files into the new created folder
  8. npm run dev
  9. Click on the localhost link and see the files ready for you code along! You can watch the video here to follow along.

Side note

The CSS and HTML files are ready to be used, but there's no Javascript files to run the application in the main folder. If you want the final product instead, don't use the first files you see here. For step 7, extract the files from semi-completed folder to replace the index.HTML files and add on 3 other new files.

multiplayergameroom's People

Contributors

chuajingyong avatar

Watchers

 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.