Cards. The game with no rules.

Show off your games, demos and other (playable) creations.
User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Cards. The game with no rules.

Post by ljdp » Tue Mar 16, 2010 10:29 pm

Cards.
Image

About:
Cards is a networked card game. Much like an online whiteboard, you're provided with
a blank canvas to play any card game you wish, with any amount of people.
Rather than develop many different card games or a card engine I decided it would be more
efficient to provide a whiteboard environment. After all, that's how it works in real life.

How to use:
Either start your own server or join someone else's. Joining a server is as simple as selecting
one from the automatically updated list.
Once joined you can right click for a context menu allowing you to create a new deck of cards
and some poker chips.
To move cards and chips click and drag.
Right click a card to flip it over.
You can drag and select multiple cards, with extra options to pile up, sort, shuffle, flip or delete the selected cards.
You can also control drag to 'lasso' around cards, akin to the lasso tool in Adobe Photoshop.
At the bottom of the window is an area that represents 'Your hand'. Any cards or objects placed here will be invisible to other players.

Things to come:
Extra objects such as chess pieces etc...
More server - client information, I.e chat, player names, avatars, etc...
Let me know any suggestions!

Download:
Currently hosted by GitHub.com, .

GitHub Link
Last edited by ljdp on Wed Mar 17, 2010 11:12 pm, edited 4 times in total.

User avatar
Fourex
Citizen
Posts: 53
Joined: Tue Nov 10, 2009 2:33 am
Location: Earth

Re: Cards. The game with no rules.

Post by Fourex » Wed Mar 17, 2010 4:47 am

I get the blue error screen... :cry:

User avatar
bartbes
Sex machine
Posts: 4943
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Cards. The game with no rules.

Post by bartbes » Wed Mar 17, 2010 6:54 am

And I know why, he messed up case in his requires.

EDIT: Okay, time for comments:
It looks pretty nice, there are a few things that would improve it though, first chatting with everyone, that would be cool. And second some kind of score counter (which you manually operate.)
I also want to know how you do the server list, I can't find the code..

User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Re: Cards. The game with no rules.

Post by ljdp » Wed Mar 17, 2010 10:26 am

Love only seems to care about the case once you zip it to .love. I did rename all the files to lowercase but git isn't updating that.

You can't find the code for the serverlist because that is done with php and mysql, it's a very simple php post and table insertion deletion.
game.lua line 228: http.request( self.settings.serverDatabase, 'mid=add' )
game.lua line 245: http.request( self.settings.serverDatabase, 'mid=rem' )

Edit:
Updated topic post with working download.

User avatar
kalle2990
Party member
Posts: 245
Joined: Sat Sep 12, 2009 1:17 pm
Location: Sweden

Re: Cards. The game with no rules.

Post by kalle2990 » Wed Mar 17, 2010 2:56 pm

These graphics.. They make me happy :ultrahappy:

User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Cards. The game with no rules.

Post by Robin » Wed Mar 17, 2010 9:16 pm

Nice. I had to modify it to make it work for me though (crappy computer).

Here's what I have for other people with crappy computers:
cardsx.love
(609.46 KiB) Downloaded 196 times
I only found a few issues:
  1. There is no clear distinction between what is on the table and what is in the hand: I can't see whether other people can see the card.
  2. I have some difficulty with the selection. Especially cards in my hand. Try selecting multiple cards in the hand, and shuffling them.
  3. The window is a bit large: I have 1280x800, but that's not particularly small. Try to find a size that is not too large for many people.
  4. That setMode is best replaced with a conf.lua file. You can use that to set the window title as well. ;)
Help us help you: attach a .love.

User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Re: Cards. The game with no rules.

Post by ljdp » Wed Mar 17, 2010 10:00 pm

Thanks for the feedback Bartbes and Robin.

Changelog:
Added conf.lua for screen size and title name,
Visual feedback when making and quitting a server,
Cards now pile horizontally to fit the 'hand' area,
Right click menu's no longer open outside of window,
Server list now pings each server to check it's online.

If anyone is interesting in joining this project to help with the graphics or
extra features such as chat, player names etc let me know.

User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: Cards. The game with no rules.

Post by nevon » Thu Mar 18, 2010 6:17 am

Robin wrote:Here's what I have for other people with crappy computers:
cardsx.love
I think you missed the Goo directory. I'm getting a bunch of errors when I try to run it.

As for the game, I wasn't able to play it. I couldn pretty much just see a white screen and the text: "Your hand" (this is after joining or starting a game). So either I was too dumb to figure out how to play it, or it wasn't working for me.

User avatar
ljdp
Party member
Posts: 209
Joined: Sat Jan 03, 2009 1:04 pm
Contact:

Re: Cards. The game with no rules.

Post by ljdp » Thu Mar 18, 2010 6:30 am

ljdp wrote:You can right click for a context menu allowing you to create a new deck of cards
and some poker chips.
That should work.

matthewburk
Prole
Posts: 15
Joined: Fri Mar 05, 2010 6:56 am

Re: Cards. The game with no rules.

Post by matthewburk » Thu Mar 18, 2010 7:46 am

This is cool. Good job.

Post Reply

Who is online

Users browsing this forum: Exabot [Bot] and 3 guests