Menu

SHS NoreWar

gyf

Introduction

What is NoreWar?

NoreWar is a robot competition game in a virtual envirionment in computer. Players just design the AI script for each robot. When put into the environment, robots will act automatically according to its AI script and fight with each other. Robots are able to produce or create themselves in the environment. When one side defeate all its enemies, it will win the match.

How to play?

SHS NoreWar provides two main applications, MatchRunner and MatchViewer. Players write each AI script in a single file, with the extension name: .aic. When MatchRunner is run, it will finally show the result and save the detail to a binary file with the extension name: .aim, which can be viewed later in MatchViewer.

AI Script

Words Definition

  • Constant: A constant with a unique name is a symbol of a definite value that will never change the value. Constant definitions is at the beginning of the AI script.
  • Segment: A segment with a unique name and a number is a sequence of commands and labels. Segments make up all the codes.
  • Label: A label identifies a position in a segment. In the same segment, labels must have unique names.
  • Command: A command, which consists of a command name and several arguments, determines what the robot will act in a match.
  • Variable: With variables, a robot is able to store information and make judgement.

Structure

An AI script consists of two main parts: constant definitions and codes. The codes are separated into segments. Each segment consists of labels and commands.

Project Members:


MongoDB Logo MongoDB