Skip to content

rrichardsonv/cssbattle_head2head

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Css head2head

Setup

  1. Install dependencies
npm i
  1. If you want to be able to play across the internet you'll need to download some way to do port forwarding (I use ngrok)

  2. Start an ngrok server and point it at port 3000

ngrok http 3000
  1. Copy the https url and paste it into the following command (URL defaults to http://localhost:3000)
URL="<paste ngrok url here>" npm start
  1. Navigate to http://localhost:3000 in your browser and open the Show join script dropdown

  2. Have you're players navigate to the the challenge you're doing ex: https://cssbattle.dev/play/105, run the join script in the dev console, and follow the prompts

Details

app.js is the client script file server.js has the server logic

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published