Chesswrite: A Multiplayer Chess game made with Appwrite
Tags: appwritehack
Published: 2022-05-11 22:03:39

### Overview of My Submission
#### Chesswrite in a nutshell
Chesswrite is a multiplayer chess game with realtime gameplay capabilities. Just send a friend/match request, and start playing right away. Worried about your whizz friend cheating? No problem! Every movement is validated by a NodeJS function, and if doesn't pass validation, it will automatically reject your opponent's movement. Every match is saved using the standard PGN format and interpreted both in the backend and frontend by the Chess.js library, so it's very easy to implement future updates such as being able to watch replays, etc.

Play now! https://chesswrite.eu

<u>Invitation system</u>
As soon as you get invited to a new match you have the choice to play or just ignore. As soon as you accept it you'll be prompted to make the first movement.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9es35744qll5qto8h8dc.jpg)

<u>Realtime gameplay</u>
Everything works in realtime thanks to Appwrite's realtime events and listening to documents.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6u3zez5224is01m6vxpp.jpg)

<u>Your dashboard</u>
You can play as many matches as you want at the same time, even if you still have different a match going on with that person. Just resume where you left it off.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h5g4xlro6p7ut836wg1n.jpg)

<u>Play chess with people you care</u>
Build a group of friends and show them how good you are at playing chess!
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d9i02pudz4py2e3zsxel.jpg)

#### Why Appwrite?
When we came across Appwrite for the first time we were amazed and angry at the same time, we've just wasted so much time in the past building login functionality, database, websockets over and over again when using traditional backend languages. 

Coming from a self-hosted background we instantly decided to test it out by building a small example application.

Just when we were about to get started with our project we saw the collaboration that the Appwrite team and Dev.to were doing and got to work immediately.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g0z12p4p5myby5t4rv7q.jpg)

#### Who are we
Just a bit of context, 3 people have worked in this project, aged between 20 and 21. We are currently studying for web development and 2 of us are roommates, so it has been amazing to work in this project every night till 2 am and laughing at how bad we are at coding! If you want to know more about us just visit our about page at https://chesswrite.eu/about (still in development)

Our Github usernames are...
https://github.com/undernightcore
https://github.com/JuanCGit
https://github.com/MarcosSesa


### Submission Category: 
Web2 Wizards


### Link to Code
{% embed https://github.com/undernightcore/chesswrite %}
{% embed https://github.com/undernightcore/chesswrite-appwrite %}


### Additional Resources / Info
Please give it a try and play with your friends at
https://chesswrite.eu