| Attributes Ep. 2 & 3; Luck and Endurance | |
|---|---|
| Topic Started: Jan 18 2008, 06:36 PM (744 Views) | |
| Kyros the Hedgehog | Jan 18 2008, 06:36 PM Post #1 |
|
(still) a dude with a funky headband
![]() ![]() ![]()
|
Hi everyone! remember my game Persistence? yeah. Anyway, I'll say that was the first of my little "attributes" series of games. so, after a month or so, I made new ones. like persistence, they require the attribute of their name to complete, or score high on. so... Luck- you press one of two to five buttons. If it's a randomly selected bad button, you die. if it's good, you score and start over. my best score was 40, with three buttons (you score more for having fewer buttons) Endurance- you press a button, over and over. stop and it ends. keep doing it and you score higher until you can endure no more. I'll be posting the source code shortly.... |
|
The companion cube will not threaten to stab you. The cake is a lie. Spoiler: click to toggle that is a real spoier for a real thing that you may not want to know of (that is, if you own or will own yet haven't beaten Valve's game Portal). it's not like, to make you lose... uh... I'll stop now.
| |
![]() |
|
| techwizrd | Jan 18 2008, 06:44 PM Post #2 |
![]()
Magister ex Machina
![]() ![]() ![]() ![]() ![]()
|
Why do you make games like that? That persistence one was a pain... BTW, I wrote that Endurance one in Tkinter. I'll upload the code shortly... |
My DeviantArt user page Please comment and add me to your favorites!
| |
![]() |
|
| Kyros the Hedgehog | Jan 18 2008, 07:47 PM Post #3 |
|
(still) a dude with a funky headband
![]() ![]() ![]()
|
heh. to answer your question, I get really bored sometimes. "Luck" and the beginning of "Endurance" began in band after I was done taking a test. "Persistence" was made on the bus when nobody was talking to me. So, basically, it's never far out of my reach. And because i can! on to the code... Luck this game's OK. its size kinda bothers me. I'm open to optimization suggestions. notes on notation- != not equal => greater than/equal <= less than/equal -> store variable _ is a not-overly-obvious blank space
note: yes, I do know about answer variable, but apparently the next few lines mess it up, so I didn't use it. don't bother me about this. continuing on...
I think i said this above, but my best was 40 points. |
|
The companion cube will not threaten to stab you. The cake is a lie. Spoiler: click to toggle that is a real spoier for a real thing that you may not want to know of (that is, if you own or will own yet haven't beaten Valve's game Portal). it's not like, to make you lose... uh... I'll stop now.
| |
![]() |
|
| Kyros the Hedgehog | Jan 18 2008, 07:57 PM Post #4 |
|
(still) a dude with a funky headband
![]() ![]() ![]()
|
endurance-- I'm trying to make a similar one called "patience," where you just hold a button. I need to work out how to get the calculator to detect button holding (not just pressing). PM me if you have a good, confirmed answer. Anyhow, I was feeling lazy, so Patience devolved to this. And yes, I am open to optimization tips. same notation notes as above
TTFN, folks |
|
The companion cube will not threaten to stab you. The cake is a lie. Spoiler: click to toggle that is a real spoier for a real thing that you may not want to know of (that is, if you own or will own yet haven't beaten Valve's game Portal). it's not like, to make you lose... uh... I'll stop now.
| |
![]() |
|
| techwizrd | Jan 21 2008, 01:53 PM Post #5 |
![]()
Magister ex Machina
![]() ![]() ![]() ![]() ![]()
|
Please note, lower case characters take up 2 bits while upper case characters take only 1. Antoher suggestion would be too put all your Labels at the begining of the program. When the calculators fings a Goto, it starts from the top of the program and searches downwards. overall, I think that this is a very good time waster. I might try to elaborate on this game and put all the Attribute games into a little Basic App or all in a navigable program of some kind. |
My DeviantArt user page Please comment and add me to your favorites!
| |
![]() |
|
| MushroomDude | Jan 22 2008, 06:26 PM Post #6 |
Not Lurking
![]() ![]() ![]()
|
hahaha That's hilarious. |
![]() |
|
| techwizrd | Jan 22 2008, 06:57 PM Post #7 |
![]()
Magister ex Machina
![]() ![]() ![]() ![]() ![]()
|
Yes, yes it is. Kyros is exactly the type of person who would write this sort of code. |
My DeviantArt user page Please comment and add me to your favorites!
| |
![]() |
|
| Kyros the Hedgehog | Jan 25 2008, 12:29 PM Post #8 |
|
(still) a dude with a funky headband
![]() ![]() ![]()
|
thanks... I can't really tell if that's a dis or a compliment. |
|
The companion cube will not threaten to stab you. The cake is a lie. Spoiler: click to toggle that is a real spoier for a real thing that you may not want to know of (that is, if you own or will own yet haven't beaten Valve's game Portal). it's not like, to make you lose... uh... I'll stop now.
| |
![]() |
|
| techwizrd | Jan 25 2008, 02:32 PM Post #9 |
![]()
Magister ex Machina
![]() ![]() ![]() ![]() ![]()
|
Neither can I. Neither can I. Anyway, you do realize 'dis' is spelled with 2 's' like this: diss. Whatever. |
My DeviantArt user page Please comment and add me to your favorites!
| |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Finished Projects · Next Topic » |





![]](http://209.85.62.24/static/1/pip_r.png)





6:44 AM Jul 31