Skip to content
forked from gustaYo/vue-chess

Multiplayer online chess game use Vue , Nodejs, Webpack, Em6, Socket.io, Mongodb, Express

Notifications You must be signed in to change notification settings

audous/vue-chess

Repository files navigation

VueChess

  • Users can create private or public games against other real-time player or against the computer by choosing color, time and type of starting, if public other users can view.
  • The user customize your board and pieces to taste.
  • Chat offers private chat with users connected well as file sharing in conversation and display items at that moment.
  • Viewer items which are searched using filters and reproduce items made by users.
  • Solving puzzles: authenticated users can solve puzzles registered in the system and add new ones, if the puzzle authorship is selected you can edit or delete.

Images

mostrando app mostrando app mostrando app mostrando app mostrando app mostrando app mostrando app

in progress

Todo

  • Load balancing work with redis. (Cooking with deepstream and nuxts)
  • Load pgn file.

Install nodejs and mongodb

    apt-get install nodejs-legacy npm
    apt-get install mongodb

Run App

git clone https://github.com/gustaYo/vue-chess.git

cd vue-chess/server
yarn install
	node server
	// Get the address shown on console

// user test admin password yoyo

Build setup for developers

# install dependencies

# use these node_modules that I share to you to work correctly https://vue-chess-dependencies-enczdtjzdy.now.sh/

wget https://vue-chess-dependencies-enczdtjzdy.now.sh/
7z x node_modules.7z


# serve with hot reload at localhost:8080
yarn dev

# run server in new tab

cd /server
yarn install

node server

# Change the Dev variable in main.js to true

1. var Dev = true

# Accepts ssl certificate in localhost:(process.env.PORT || 3311)

# build for production with minification

# Change the Dev variable in main.js to false

npm run build

#Publish on server

rm -rf server/public/static
cp dist/static -r server/public/static
rm server/views/client.html
cp dist/index.html server/views/client.html


## Enjoy it

About

Multiplayer online chess game use Vue , Nodejs, Webpack, Em6, Socket.io, Mongodb, Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.3%
  • Vue 18.3%
  • CSS 10.6%
  • HTML 5.8%