GithubHelp home page GithubHelp logo

mohabz-911 / processor-game Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moazhassan2022/processor-game

1.0 0.0 0.0 369 KB

Processor game is a DOS video game. We developed the game using Assembly x86 only. The game has GUI. It supports multiplayer mode using UART communication protocol. It has chatting mode, as well.

Assembly 100.00%

processor-game's Introduction

Processor-Game

It is a multiplayer game with serial communication between 2 PCs made with assembly language.

it has two modes:

Chat mode: the 2 players can chat with nice user friendly window with ability of backspacing and scrolling chat.

Game mode: it is a simulation of processor for each player with registers and memory.

The 2 players can type commands to be executed on opponent's processor and data is sent through serial port in the 2 PCs.

Goal is to put a certain value in opponent's any register with 2 levels of hardness, a forbidden character that each player chooses for the other and power ups,

Four types of power ups are available: a. Executing a command on your own processor (consumes 5 points) b. Executing a command on your processor and your opponent processor at the same time (consumes 3 points) c. Changing the forbidden character only once (consumes 8 points) d. Clearing all registers at once. (Consumes 30 points and could be used only once).

The game also supports four types of errors: a. Size mismatch b. Memory to memory operation c. Invalid register name d. Incorrect addressing mode like โ€œmov ax, [CX]โ€

The game supports inline chat within the game and a pop up game that shows up suddenlu during the game and it is a moving a ball and an arrow to shot the ball and if it is shot the player gets extra score.

Five addressing modes are supported.

Supported Commands are: [ADD-ADC-SUB-SBB-XOR-AND-OR-NOP-SHR-SHL-SAR-ROR-RCL-RCR-ROL]

It was a project for the college.

processor-game's People

Contributors

moazhassan2022 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.