Skip to content

kyrie007/Core-War

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 2 - Core War

Project Name Project description.

Team Name:

  • Zongcheng Wang
  • zongchew
  • zehua Wang
  • zehuaw6

Functionalities

The following required functionality is complete:

  • Two warrior files can be loaded into the Core

  • The following instructions work correctly:

    • MOV

    • ADD

    • SUB

    • JMP

    • JMZ

    • DJN

    • CMP

    • SPL

      • After SPL, warriors take fair turns

        • Program X, Program Y, Program X', Program Y, Program X...
      • After SPL, the game continues as long as there exists the original or a copy of a warrior

  • Warriors take turns executing an instruction

  • Displays Game Status

    • Current Instruction, Previous 5 and Next 5 Instructions
  • Game ends and Displays result

    • (Program 'X' Wins or Draw)

The following additional features are implemented:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages