Coffee Chess is a chess game,themed after my favourite hot beverage. Includes both local play and open multiplayer so you can play with others!
The codebase is organized into a monorepo with packages for the client, server and core library. The client is built using with Phaser game engine with Vite and Typescript. Art is a hybrid of self made and AI generated. This static site is hosted on cloudflare.
Server side, an express server is configured with sockets.io to handle multiplayer. This is containerized and hosted on a linode instance. In addition I also built a generic chess-core library to handle all the game logic from a single class! This is completely reusable for any chess game.
The website you’re viewing was built from the ground up using SvelteKit. For styling and responsive layouts, Tailwind CSS was used extensively.
Content on the site is written in a blend of Svelte and Markdown using MDsveX, a powerful preprocessor that allows for page content to be written in a more manageable format → Read more about it: Simplify Svelte Site Content with MDsveX
One of the standout features of this site is that it’s entirely static—no server-side rendering required. Thanks to Vite and SvelteKit’s static adapter, the production build outputs a fast, lightweight static site hosted on Cloudflare.