Skip to content

A x86 assembly kungfu chess based on the Android game Chezz.

Notifications You must be signed in to change notification settings

Omar-Said-4/chezz

Repository files navigation

Chezz

A x86 assembly kungfu chess based on the Android game Chezz.

Description

🔵 It's not an ordinary chess game as there are no turns, the game only ends when one of the kings is dead.

🔵 You can find two versions in the repository:

  1. MainGame --> A local PC Two-Player version.
  2. Final_Game --> Chezz --> A server Pc Two-Player-version that can be played through two different devices.

🔵 Several Testcases And Cornercases have been handled successfully to simulate real world chess game.

🔵 You don't need to assemble multiple files to run the game just one file.

🔵 Photos used to draw pieces can be found in Photos folder.

🔵 Server version Has two modes:

  1. Game Mode.
  2. Chat Mode.
  • Server Game has inline chatting provided.

🔵 Local version doesn't have inline chatting or chatting modes.

Game Rules and Guidlines

  • There are no turns.
  • Game is over only when one of the kings is dead.
  • After each piece move there is a cooldown period of 3 seconds, during this period you can't move that piece again.
  • Checks are unlimited.
  • On choosing a specific piece all available moving space will be highlighted.
  • If an enemy is within the moving space, it will be highlighted in red.
  • Red cells are cells with pieces undergoing cooldown.

How to run?

🔵 For the local version

  • If you're using DOSBOX through VSCODE then simply copy the content of MainGame.asm to the workspace (no need to install DOSBOX).

🔵 For both versions to run through DOSBOX

  1. Download all files in this Repository related to a specific version.
  2. Download DOSBOX, MASM.exe, LINK.exe.
  3. Put the game asm file together with MASM.exe, LINK.exe in one file.
  4. Mount the Folder in the DOSBox.
  5. Assemble the Game Folder Name in the DOSBox using MASM.
  6. LINK the Game folder generated object file.
  7. Type Game name and enjoy playing.

Controls

🔵 For Local Version

Player1 is black and Player2 is white

  • F2, to start game.
  • Up Arrow, Down Arrow, Right Arrow,Left Arrow control the movement of player 1 cell to choose a specific piece or cell.
  • W, A, S,D control the movement of player 2 cell to choose a specific piece or cell.
  • Enter Key is used to choose or release a specific piece for player1.
  • Q is used to choose or release a specific piece for player2.
  • escape, to exit game.

🔵 For Server Version

On your device you are always Player1 which is black

any pressed button affects the both sides

  • First enter your name and wait until the other player is connected through the notification bar.
  • F1, to send or accept a chat invitation.
  • F2, to send or accept a game invitation.
  • F3, to exit chatting mode.
  • F4, to exit game mode.
  • F7, to refuse a chat or a game invitation.
  • escape, to exit game.
  • Up Arrow, Down Arrow, Right Arrow,Left Arrow control the movement of player1 cell to choose a specific piece or cell.
  • F10 is used to choose or release a specific piece for player1.
  • In chatting mode any key pressed will appear on both players' screens, Enter is pressed for a new line
  • In inline chatting mode any key pressed will appear on both playeers' screens, Enter is pressed for a new line
  • Both chatting modes support scrolling.

🔵 Game Video: https://drive.google.com/file/d/1Qn1cow6rkvWL3wDd_U_w7oVsDaV_LQnl/view

This game will undergo further developments in the future

Thank You 😁

About

A x86 assembly kungfu chess based on the Android game Chezz.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published