Ana Sayfa / Kod ve Scriptler / Xiangqi Game With AI And Room Hosting

Xiangqi Game With AI And Room Hosting

Yapay zeka ve oda barındırma özellikli Xiangqi (Çin Satrancı) oyunu. 4 seviye yapay zeka var. Barındırılan oda bir şifre içermelidir

  • Yayın tarihi13 Temmuz 2020
  • Nerede çalışırPHP 7.2, PHP 7.3, PHP 7.4
  • VeritabanıMySQL 5.x
  • Paket içeriği.php, .css, .sql, JavaScript .js
  • Son güncelleme23 Kasım 2020
Xiangqi Game With AI And Room Hosting

Overview

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

There are 4 options: Play with friend, Play with AI, Play in room, and Set up the board

  1. Play with AI: Users play directly on the front page. There are 4 levels: Newbie, Easy, Normal, and Hard.
  2. Play with friend: Users press on the button "PLAY WITH FRIEND" on the front page and practice with friend.
  3. Play in room: Users press on the button "HOST A ROOM", 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. Users can also access the page "Rooms" to enter a hosted room. Users can choose Red Side or Black Side, Red moves first.
  4. 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.

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 room with a password.
  3. Set up board with Board Capture.
  4. Share Board feature: user can Share the board with others.

Requirements

Server Requirements:

  • PHP >= 7.2.5
  • 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