File: trine.cw

package info (click to toggle)
corewars 0.9.13-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 1,388 kB
  • ctags: 1,119
  • sloc: ansic: 7,429; yacc: 1,376; sh: 784; makefile: 112; lex: 104; lisp: 68
file content (24 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#
# By Zinx Verituse <zinx@linuxfreak.com>
#
#  Trine

title "Trine"
author "Zinx Verituse <zinx@linuxfreak.com>"

DUMMY1:	data 0
A:	data &DUMMY2

START:	fork LEFT

RIGHT:	move 0, [A]
	add 3, A
	jump RIGHT

LEFT:	move 0, [B]
	add -3, B
	jump LEFT

B:	data &DUMMY1
DUMMY2:	data 0