Subject: Re: [stella] Introduction and new game|
From: "Gary Szwiec" <gszwiec@xxxxxxxxxxx>
Date: Thu, 07 Jun 2001 14:54:13 -0500
From: "Erik J. Eid" <eeid@xxxxxxxxx> Reply-To: stella@xxxxxxxxxxx To: stella@xxxxxxxxxxx (Stella Listserv) Subject: [stella] Introduction and new game Date: Wed, 06 Jun 2001 22:23:19 -0400
Greetings to everyone reading this listserv!
I'm Erik Eid, a fan of the Atari 2600 fan for over 20 years but very new to programming for it. (I am, however, a professional developer, having worked in languages as varied as C, Delphi, Fortran, and PL/SQL.) I first lurked on this list about three to four years ago, being eager to use the development tools on the Stella Gets a New Brain CD. I played around with programming the 2600 a bit back then, but never got further than a couple of experiments.
I stopped reading a list after a few months and didn't pick it back up until a couple of weeks ago. My interest was renewed after seeing yet more homebrew efforts grace our TV screens. My congratulations go out to all of those who have written new games for the 2600, as you have accomplished something tremendous!
I decided that this time around I would complete a game. Since I am a beginner with both assembly language and 2600 programming, I thought I should try something simple. A card game seemed like a good idea since it would involve a mostly static display. There are also very few card games in the 2600 library (Blackjack, Bridge, and Casino are the only three I can think of).
Since I'm in the midwest U.S., it only makes sense that my game of choice is Euchre. It also has the virtue of being simple.
Attached is a binary and source code. So far you can't actually play a game of Euchre. All that happens is that the player is dealt a hand and four cards are put on the table, just to test out the display of the cards. If you hit the Reset switch, a new set of cards is dealt.
I have one sticky problem right now: the right-most column of the rank of East's trick inherits the right-most column of the suit. This is only evident when the suit is clubs or the rank is Ace or 10. Minor adjustments to statements in hopes of fixing the cycles only seem to make things worse.
Any help you can give to me, a definite novice, is greatly appreciated.
Also, many thanks to Erik Mooney for posting his random number generator and player positioning routine to the Stella list years ago. I have incorporated both into my game and they make it possible for the game to exist at all. (I did take out the positioning table since there's no motion in my game. All positions are computed ahead of time.)
<< Euchre.asm >> << Euchre.bin >>
. . \_ +\_ + o_-/ . O . \-_o -=/- . . . . \=// . ---------\_______ ||O ___.______ /* Erik Eid */ \____||L/\_____/ /* eeid@xxxxxxxxx */_______________________
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/