Inspiration
Chess has always fascinated me because it blends strategy, logic and creativity. I wanted to bring that experience to a modern, digital platform—simple to play, smooth to interact with and engaging for all ages.
What it does
Clash of Kings is a clean, interactive chess game where players can move pieces, plan strategies and enjoy a visually appealing board. It follows standard chess rules and provides an intuitive, distraction-free experience.
How I built it
I built Clash of Kings using HTML, CSS and JavaScript.
The board is generated using a grid layout
Each piece has its own movement logic
JavaScript validates moves and updates game state
UI design focuses on clean colors, smooth animations and responsive layout
Challenges I ran into
Implementing accurate movement rules for different pieces
Handling special cases like checks, captures and invalid moves
Ensuring smooth gameplay without lag
Balancing clean design with game logic complexity
Accomplishments that I am proud of
Creating a working chess game from scratch
Designing a minimal, modern interface
Building smooth and accurate piece movement
Building an AI based app
Successfully combining logic, design and user experience
What I learned
Structuring a full game using front-end technologies
Writing cleaner, modular JavaScript
Debugging logical errors step-by-step
Improving UI/UX with simple but effective design choices
What's next for Clash of Kings
Adding multiplayer mode
Introducing difficulty levels with an AI opponent
Adding timers, sound effects and animations
Making the game mobile-friendly
Expanding into themes and custom boards
Built With
- codepen
- css
- html
- javascript
Log in or sign up for Devpost to join the conversation.