Armand Posted November 23, 2017 Share Posted November 23, 2017 Hi, I ported my game from Flash/AIR to HTML5. It's SparkChess, a chess game with single-player and multiplayer capabilities. The game is written in Typescript. I chose it because it was more similar to Actionscript and because I wanted to keep my sanity (for large projects Javascript is a pain). The AI engine is written by me, it's fast and strong enough for most players. It uses web workers. The multiplayer part uses websockets, with Union Platform (wonderful Java multiplayer server with Javascript client, too bad it doesn't seem to be actively developed). There's a free version online and we also have a Premium version with extra features, such as the rotatable 3D board that uses Three.js. I also created desktop versions for Win & Mac using Electron (previously NWjs but Electron seems to have more & better tools) and also for mobile using Cordova. Quote Link to comment Share on other sites More sharing options...
bruno_ Posted November 23, 2017 Share Posted November 23, 2017 Great game, I love chess games. Quote Link to comment Share on other sites More sharing options...
enriqueto Posted November 27, 2017 Share Posted November 27, 2017 Very nice, it looks very polished. I did a chess game myself but I used an existing AI. In case you want to have some feedback ... I would have preferred to see an animation when a piece is captured. An alpha tween for the captured piece would have been enough. Why don't you cancel the selection when the player tries to select another piece instead of having to click again in the first piece? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.