Skip to content

pentalive/ctrek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A traditional Star Trek game.

Resources

License

Stars

Watchers

Forks

Packages

No packages published