Ana Sayfa / Kod ve Scriptler / Chess Game With AI PHP Script

Chess Game With AI PHP Script

Yapay zeka ve oda barındırma özellikli satranç oyunu. 4 seviye yapay zeka var. Barındırılan oda bir şifre içermelidir

  • Yayın tarihi21 Haziran 2020
  • Nerede çalışırPHP 8.0, PHP 8.1, PHP 8.2
  • VeritabanıMySQL 5.x
  • Paket içeriği.php, .css, .html, .sql, JavaScript .js
  • Son güncelleme30 Eylül 2025
  • Canlı demoVar
Chess Game With AI PHP Script

Overview

This product is built for PHP/MySQL web developers, who are passionate about creating a Chess game for online playing.

There are 6 options: Play alone, Play with AI, Play in room, Watch the rooms and Set up the board

  1. Play alone: Players press on the button "PLAY ALONE" on the front page and practice with friend.
  2. Play with AI: Players play directly on the front page. There are 4 levels: Newbie, Easy, Normal, and Hard.
  3. Play in room: Players press on the button "START", host a new room with random Room code, and create a password for you and your friend, also capable of Inviting friend to play by sending the link. Players can also access the page "Rooms" to enter a hosted room. Players can choose White Side or Black Side, White moves first.
  4. Watch the rooms: visitors can go the Rooms' list and choose Watch.
  5. Set up the board: Players press on the link "Set Up". In this option, players can arrange the chess pieces and press "CAPTURE THE BOARD" to challenge friends.
  6. Compete in the tournament: in this mode, you can login to play with other players.

Features

  1. AI feature with 4 levels: Newbie, Easy, Normal, and Hard. The AI is based on Minimax Alpha Beta algorithm.
  2. Hosting Room feature: user can host new private room with a password or host a public room with no password.
  3. Set up board with Board Capture.
  4. Share Board feature: user can Share the board with others.
  5. Chat box for Room players.
  6. Register and login.

Requirements

Server Requirements:

  • PHP >= 8 and <= 8.2
  • BCMath PHP Extension
  • Ctype PHP Extension
  • Fileinfo PHP extension
  • JSON PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension