was trying to find a way to use my terminal image system in a game, and i came up with the idea for this number guessing game.
.PET attached below.
I've attached a few screenshots so you can see what i mean by "terminal image"
images are drawn by 2 separate scripts (they are almost identical. one doesn't print the title. T-IMG.sh is the normal one. when the script needs to draw an image. it calls up the appropriate .TIMG image, by sending the full file name and path through standard input to T-IMG.sh (or its non-title printing counterpart.) T-IMG.sh draws the images by reading the image one line at a time, converting the line to a list and printing each color block, and overall each line, in sequence. Printing a new line at the end of each line. a bang "!" acts as an end of file instruction.
The player (Purple) enters a number from 1-9. The computer (cyan)
also picks a number from 1-9. A pacer is chosen randomly.
also a number from 1-9.(Yellow). the closer a player is to the pacer
the lower that player's score. the player with the lowest score, wins.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum