Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 04 May 2016, 11:36
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Maxapacer
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
TecnoGuy458


Joined: 26 Jan 2015
Posts: 121
Location: Ohio

PostPosted: Fri 06 Nov 2015, 06:48    Post subject:  Maxapacer
Subject description: a fun number guessing game.
 

test your luck at this game of chance, as you try to out-guess the computer.

github: https://github.com/ThomasTheSpaceFox/maxapacer

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.

RULES:
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.
Maxapacer-v1.2.0.pet
Description  v1.2.0
pet

 Download 
Filename  Maxapacer-v1.2.0.pet 
Filesize  17.24 KB 
Downloaded  52 Time(s) 
capture5537.png
 Description   in-game
 Filesize   3.41 KB
 Viewed   329 Time(s)

capture5537.png

capture24895.png
 Description   title screen.
 Filesize   5.26 KB
 Viewed   641 Time(s)

capture24895.png

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Jump to:  

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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0516s ][ Queries: 12 (0.0093s) ][ GZIP on ]