Skip to content

ickarakurt/Click-and-Win-Game-Socket-Node-jQuery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Click and Win

About Click and Game

Click and Win is a kind of game. If user want to win the game, he/she have to click faster than enemy.

How to Play ?

You are two friends. One of you create room a special name (with some settings - range and speed). Other friend join the game with using room name.

Used Technologies

  • HTML
  • CSS
  • Node.js(Socket.io,Pug,Express)
  • Javascript - jQuery

Installation

-> Change Directory

cd /var/www

->Clone the repository

git clone https://github.com/ickarakurt/Click-and-Win-Game-Socket-Node-jQuery.git .

-> Edit main.js

cd /public/javascripts/
nano main.js
  • On line 43 edit website adress

-> Install Packages

npm install

-> Install pm2 Package

npm install pm2 -g

-> Start App

cd /var/www
pm2 start app.js

issues to be solved soon

  • If room name is empty ,socket can't work.
  • click event on waiting your enemy , adding display none on title

About

Click and win game with socket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published