1. board games
- Posted by david <studmeow at hotmail.com> Oct 05, 2004
- 440 views
So far, several classic games have been covered in Euphoria. Chess/Checkers Othello (Reversi) several tile matching examples (including Mahjongg) Sobokan I haven't seen solitaire, but the Reaper's engine should help. Paper Rock Scissors Hexy (if it's the same one, it was once available as a board game) Games I'd like to see: Dominoes/Trionimos ; Tri-level chess (Star Trek style) a version of 3-player chess (VERY big in Europe) Four Winds version Mahjongg Hanafuda solitaire & multiplayer versions BACKGAMMON!!! Also, I've acquired some PD source code for a vector graphics engine. I'd like someone to port it to Euphoria. Interested parties please email me at studmeowAThotmailDOTcom
2. Re: board games
- Posted by Patrick Barnes <mrtrick at gmail.com> Oct 05, 2004
- 450 views
- Last edited Oct 06, 2004
> >posted by: david <studmeow at hotmail.com> > > > >So far, several classic games have been covered in Euphoria. > >I haven't seen solitaire, but the Reaper's engine should help. The Reaper's engine has some problems with it, as well as it's written in DOS. Search the archives for TheGame, and you'll find a game I wrote based on his engine - I had to redo the drawing functions. Apparently in windows there is a DLL used to draw cards for solitaire, freecell, and hearts... Does anyone know about this? I think it would be productive if we could make a card-game framework, that would make it easy for people to write card games in Euphoria. Abstract objects like 'deck', 'table', 'pile', 'hand' into quasi-objects with associated routines, and it would make life much easier. -- MrTrick
3. Re: board games
- Posted by CoJaBo <cojabo at suscom.net> Oct 06, 2004
- 434 views
Patrick Barnes wrote: > > > >posted by: david <studmeow at hotmail.com> > > > > > >So far, several classic games have been covered in Euphoria. > > >I haven't seen solitaire, but the Reaper's engine should help. > > The Reaper's engine has some problems with it, as well as it's written > in DOS. Search the archives for TheGame, and you'll find a game I > wrote based on his engine - I had to redo the drawing functions. > Apparently in windows there is a DLL used to draw cards for solitaire, > freecell, and hearts... Does anyone know about this? C:\windows\system32\cards.dll? > > I think it would be productive if we could make a card-game framework, > that would make it easy for people to write card games in Euphoria. > Abstract objects like 'deck', 'table', 'pile', 'hand' into > quasi-objects with associated routines, and it would make life much > easier. And probably wrap cards.dll too. > > -- > MrTrick > >
4. Re: board games
- Posted by Patrick Barnes <mrtrick at gmail.com> Oct 06, 2004
- 426 views
>Cojabo wrote: > > The Reaper's engine has some problems with it, as well as it's written > > in DOS. Search the archives for TheGame, and you'll find a game I > > wrote based on his engine - I had to redo the drawing functions. > > Apparently in windows there is a DLL used to draw cards for solitaire, > > freecell, and hearts... Does anyone know about this? > C:\windows\system32\cards.dll? Well yes... but how is it used? > > I think it would be productive if we could make a card-game framework, > > that would make it easy for people to write card games in Euphoria. > > Abstract objects like 'deck', 'table', 'pile', 'hand' into > > quasi-objects with associated routines, and it would make life much > > easier. > And probably wrap cards.dll too. Indeed. -- MrTrick
5. Re: board games
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Oct 06, 2004
- 425 views
On Wed, 6 Oct 2004 09:37:32 +1000, Patrick Barnes <mrtrick at gmail.com> wrote: >I think it would be productive if we could make a card-game framework, >that would make it easy for people to write card games in Euphoria. >Abstract objects like 'deck', 'table', 'pile', 'hand' into >quasi-objects with associated routines, and it would make life much >easier. I recommend Blackjack by Jon Snyder, in the archives. Admittedly I haven't looked at it for a long while, but it seems I thought it was good enough (internally) to still remember after three years. Regards, Pete
6. Re: board games
- Posted by Evan Marshall <1evan at sbcglobal.net> Oct 06, 2004
- 416 views
Patrick Barnes wrote: <snip> > MrTrick Seems too easy! http://www.catch22.net/tuts/cardtut.asp
7. Re: board games
- Posted by Derek Parnell <ddparnell at bigpond.com> Oct 06, 2004
- 427 views
Patrick Barnes wrote: > > > >posted by: david <studmeow at hotmail.com> > > > > > >So far, several classic games have been covered in Euphoria. > > >I haven't seen solitaire, but the Reaper's engine should help. > > The Reaper's engine has some problems with it, as well as it's written > in DOS. Search the archives for TheGame, and you'll find a game I > wrote based on his engine - I had to redo the drawing functions. > Apparently in windows there is a DLL used to draw cards for solitaire, > freecell, and hearts... Does anyone know about this? Yes. It's called "cards.dll" - not unexpectedly. > I think it would be productive if we could make a card-game framework, > that would make it easy for people to write card games in Euphoria. > Abstract objects like 'deck', 'table', 'pile', 'hand' into > quasi-objects with associated routines, and it would make life much > easier. Are you reading my mind??? Just last week I started putting together a win32lib plug-in for card games! In fact, I'm getting ready to announce a new Euphoria contest that involves implementing a cross-platform card game called Poison Ace ( no, not the drinking game). I should have the rules finalized in a day or so. -- Derek Parnell Melbourne, Australia
8. Re: board games
- Posted by Patrick Barnes <mrtrick at gmail.com> Oct 06, 2004
- 437 views
On Tue, 05 Oct 2004 18:05:55 -0700, Evan Marshall <guest at rapideuphoria.com> wrote: > Seems too easy! > > http://www.catch22.net/tuts/cardtut.asp > Looks like fun! Thunking between 16-bit and 32-bit... that's not possible in pure euphoria, is it? -- MrTrick
9. Re: board games
- Posted by Patrick Barnes <mrtrick at gmail.com> Oct 06, 2004
- 416 views
On Wed, 06 Oct 2004 01:36:56 +0100, Pete Lomax <petelomax at blueyonder.co.uk> > I recommend Blackjack by Jon Snyder, in the archives. Admittedly I > haven't looked at it for a long while, but it seems I thought it was > good enough (internally) to still remember after three years. Bah, I can't get to the zip file, there's something wrong with my work firewall. I'll have a look at it tonight. If it uses cards.dll, that's a lot of work done for us already. -- MrTrick
10. Re: board games
- Posted by "Unkmar" <L3Euphoria at bellsouth.net> Oct 06, 2004
- 424 views
----- Original Message ----- From: "Patrick Barnes" Sent: Tuesday, October 05, 2004 7:37 PM Subject: Re: board games > > >posted by: david <studmeow at hotmail.com> > > > > > >So far, several classic games have been covered in Euphoria. > > >I haven't seen solitaire, but the Reaper's engine should help. > > The Reaper's engine has some problems with it, as well as it's written > in DOS. Search the archives for TheGame, and you'll find a game I > wrote based on his engine - I had to redo the drawing functions. > Apparently in windows there is a DLL used to draw cards for solitaire, > freecell, and hearts... Does anyone know about this? > > I think it would be productive if we could make a card-game framework, > that would make it easy for people to write card games in Euphoria. > Abstract objects like 'deck', 'table', 'pile', 'hand' into > quasi-objects with associated routines, and it would make life much > easier. > > -- > MrTrick I think that dll is cards.dll. But don't hold me to that. Or maybe just card.dll? unkmar
11. Re: board games
- Posted by D L <d1eu at yahoo.ca> Oct 06, 2004
- 409 views
> > On Tue, 05 Oct 2004 18:05:55 -0700, Evan Marshall > <guest at rapideuphoria.com> wrote: > Seems too easy! > > <a > href="http://www.catch22.net/tuts/cardtut.asp">http://www.catch22.net/tuts/cardtut.asp</a> Here is another article on drawing cards using the cards.dll supplied with windows: <a href="http://www.thecodeproject.com/csharp/drawcardscp1.asp">http://www.thecodeproject.com/csharp/drawcardscp1.asp</a> Denes.
12. Re: board games
- Posted by Patrick Barnes <mrtrick at gmail.com> Oct 06, 2004
- 438 views
> There's some info about being able to integrate with AutoCAD to create > vector type graphics. If we can successfully port this to Euphoria, can > we still use AutoCAD, or maybe Exotica? It may be better to abandon the graphics side, and just try to extract the logic. Go is graphically very simple - all you need is a board pixmap, and some piece sprites. If you're really into minimalism, you could use a single XPM for both sides, and 'hand-draw' the board every refresh. -- MrTrick
13. Re: board games
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Oct 06, 2004
- 443 views
Patrick Barnes wrote: > > I think it would be productive if we could make a card-game framework, > that would make it easy for people to write card games in Euphoria. > Abstract objects like 'deck', 'table', 'pile', 'hand' into > quasi-objects with associated routines, and it would make life much > easier. It's not quite as generic as all that, but one of the demos supplied with wxEuphoria is a port of David Cuny's Freecell (from the wxBasic). It's pretty straightforward, and should be pretty easy to convert to Win32Lib or whatever. It just uses a png for the graphics and blits the appropriate cards around as needed. Matt Lewis