This project is actually suspended. Play against the chess AI is possible and working, but it produced some bugs for player against player. Please read below for more info about the project.
This project aims to build a plateform to play real-time games, using NodeJS and WebSockets. People will be able
- to reserve a pseudo
- Connect to lobbies
- Chat in lobbies
- play different games
For chat and games, sockets are used for a real time experience. If this project picks your interest, let me know !
As of today, only Chess is available.
This project needs NodeJs to run, as well as :
- Express, a framework
- EJS, the templating language
- Passport, an authentication middleware for Node.js
- MongoDB, a noSQL database
- Socket.io, the real-time engine for the chats and games.
- Connect-..., sessions store.
You can install with the following command :
npm install
For the games actually provided, this project also uses :
- Chess.js (which is modified)
The following still needs to be done :
Some features to implement (By prioritizing) :
- Add explanations for players
- Surrender
- Lobby functions
- Update spectator mode.
- Delay before disconnection
- Prevent double connections.
Appearance :
- Need to do add a client side complementary project (such as an Angular project), to play different games.
- Eyap53 - Initial work - Eyap53
This project is licensed under the GNU GPL License - see the LICENSE file for details