Skip to content
项目

关于

使用 Vue、Node.js、Webpack、Em6、Socket.io、MongoDB 和 Express 构建的多人在线国际象棋游戏。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…