Skip to content

This is a mini chess game developed using the Next.js framework, where you can play against an AI opponent. It is a simple but fun game that can be enjoyed by players of all ages.

Notifications You must be signed in to change notification settings

mehzabin-haque/minichess

 
 

Repository files navigation

Next.js Mini Chess with AI

This is a mini chess game developed using the Next.js framework, where you can play against an AI opponent. It is a simple but fun game that can be enjoyed by players of all ages.

The game features a simple and intuitive user interface, making it easy to learn and play. The AI opponent is challenging but fair, and it will provide you with a good test of your chess skills.

The game is also highly customizable, allowing you to change the board theme, piece style, and other settings.

Features

Simple and intuitive user interface

Play against a challenging AI opponent

Server-side rendering for improved performance and SEO

Static site generation for even faster and more scalable performance

Image optimization for visually appealing graphics

How to play

Click on a piece to select it. Click on the square where you want to move the piece. If the move is valid, the piece will move to the new square. If the move is not valid, the piece will remain in its current square. To win the game, you must checkmate the other king. Checkmate is when the king is in a position where it can be captured and there is no way to escape.

Have fun!

Tips for playing against the AI

The AI is very good at finding and exploiting weaknesses in your position. Be careful not to leave any pieces undefended. The AI is also very good at planning ahead. Try to think several moves ahead and anticipate the AI's moves. Don't be afraid to sacrifice pieces if it means improving your position or gaining an advantage.

Screenshots

Screenshot (920) Screenshot (921) Screenshot (922) Screenshot (923)

About

This is a mini chess game developed using the Next.js framework, where you can play against an AI opponent. It is a simple but fun game that can be enjoyed by players of all ages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.2%
  • JavaScript 1.8%
  • CSS 1.0%