Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 914 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 914 Bytes

CTREK

CTREK

Tradtional Star Trek game in C

You are in one of 8x8 Quadrants. Each Quadrant is divided into 8x8 sectors. Each sector can contain a star, klingon, base, your ship.

You have a number of bases for repair and refueling. Your opponents mean to remove all these.

Right now - you can move from sector to sector, move to a different quadrant, employ your phasers or torpeods to destroy your opponents. Moving to a sector next to a base will allow refueling and replenishment if there are no opponents in the quadrant.

Klingons dont do anything just yet... work in progress.

Make the program- Makefile is included

Enter commands by pressing a letter followed by two digits (usually 1-8 for most commands to corispond to x,y coordinates of secotor or quadrant or 0-9 for phaser %. Follow that with a . So to Warp to quadrant 5,6 type W 5 6 . 'h' prints a list of commands.