1. board games

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

new topic     » topic index » view message » categorize

2. 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

new topic     » goto parent     » topic index » view message » categorize

3. Re: board games

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
> 
>

new topic     » goto parent     » topic index » view message » categorize

4. Re: board games

>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

new topic     » goto parent     » topic index » view message » categorize

5. Re: board games

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

new topic     » goto parent     » topic index » view message » categorize

6. Re: board games

Patrick Barnes wrote:

<snip>
> MrTrick


Seems too easy!

http://www.catch22.net/tuts/cardtut.asp

new topic     » goto parent     » topic index » view message » categorize

7. Re: board games

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

new topic     » goto parent     » topic index » view message » categorize

8. Re: board games

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

new topic     » goto parent     » topic index » view message » categorize

9. Re: board games

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

new topic     » goto parent     » topic index » view message » categorize

10. Re: board games

----- 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

new topic     » goto parent     » topic index » view message » categorize

11. Re: board games

> 
> 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.

new topic     » goto parent     » topic index » view message » categorize

12. Re: board games

> 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

new topic     » goto parent     » topic index » view message » categorize

13. Re: board games

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu