HexaChess - Multiplayer Online Game

A chess variant played on a hexagonal board. The game was developed with React and Node.js and was a personal project to learn more about WebSockets.

React
TypeScript
Tailwind
Node.js
WebSockets
Express

01/08/2023

Abstract

HexaChess is an interesting new chess variant that takes the traditional game of chess and adds a unique twist by using a hexagonal board layout. This article presents an in-depth exploration of HexaChess, a chess variant that goes beyond a simple adaptation of the classic game. Built using React and Node technologies, HexaChess showcases a comprehensive implementation of standard chess rules within its hexagonal framework, offering players a refreshing and challenging experience.

Features

Inspiration

This project was inspired by CGP Grey's video Can Chess, with Hexagons? and a general fascination with hexagonal grids. I also wanted to learn more about WebSockets and how you can use them to implement a multiplayer game.

Technologies

Client

Server

Limitations

Due to the nature of the hexagonal grid, the game is not fully responsive. It is playable on mobile devices, but the UI is not optimized for smaller screens. The server is hosted on the free tier of Render.com and may take a few seconds to wake up, as well as being limited to 15 minutes of activity until it goes to sleep again.

Screenshots

Pre-game lobby:

HexaChess Screenshot

Initial board:

HexaChess Screenshot

Mid-game board with side panel open:

HexaChess Screenshot