473,385 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Peer review requested....

I am planning to share a Cards.DLL out on Planet Source Code
and GotDotNet. But before I send it out to the public I would
like to get a peer review to be sure it works as intended, and
to avoid any stupid coding tricks or other unsightly practices.

I am supplying a zipped package of just the source text and
allowing the user to build all the executables. I want to be
sure that goes as planned.

To demonstrate the Cards.DLL I have included two sample programs,
a single player poker game and a quick and dirty testing form.

There is a read me file included which explains what is needed to
get it working right off, as well as documentation for the assembly.

The main thing I want looked at is the Cards project to be sure
I am not demonstrating bad practises. I'll take any and all
critiques from any of you that have a few spare minutes to
look over the code. For your effort, you can keep the poker
game! I just want to get other's opinions to be sure there are
no glaring problems with the Cards project code before posting
it to the web sites.

The zipped package is available at:
http://www.usinternet.com/users/serf...splaycards.zip
(~ 195 KB)

This was developed with version 1.1 of the .Net framework, if there
are problems with other versions, I'd like to hear about it...

Thanks!
LFS
Nov 20 '05 #1
3 1451
Hi Larry,

I have looked a little bit to your program, (Yesterday actually and what
curious what others would say before I did gave my comments)

Especially the way you make the cards was good information for me as well, I
still am thinking to make a card program myself first klaverjas (that is
ballot in french, I do not know the english name) and than bridge. The way
you make the cards was very brighten to me, while that was my major strugle,
so now I can make a new start with that again.

What I do not understand (while it is working nice) is why you did not go
for a shared class but for a module (however I see reasons).

As last, the desk is a little bit small on a desktop with smaller dots, I
would make it dynamic so that people who want to play it at office can hide
it directly for there boss and older ones at home have a simple look at it.

I did not check if your logic was working.
For a poker game I would make it more in real, with bidding and have the
change to go away and the possibility to ask for seeing, now it is for me
more a kind of black jack with a poker system.

I hope this helps?

Cor
Nov 20 '05 #2

"Cor Ligthert" <no**********@planet.nl> wrote
Hi Larry,

I have looked a little bit to your program, (Yesterday actually and what
curious what others would say before I did gave my comments)
Thank you for sending your comments. replies inline:
Especially the way you make the cards was good information for me as well, I
still am thinking to make a card program myself first klaverjas (that is
ballot in french, I do not know the english name) and than bridge. The way
you make the cards was very brighten to me, while that was my major strugle,
so now I can make a new start with that again.
Good! Does that mean you will be making your own cards?

What I do not understand (while it is working nice) is why you did not go
for a shared class but for a module (however I see reasons).
Would not a shared class have the same values all the time? If a card was
shared, it could only be one value at a time. That may work for drawing
purposes, but I was thinking that, like real cards, each player would be
given a set (eg. 5 for poker) to play, and they could play those one at a time.
In other words, cards are real objects, so I naturally thought to make them
objects.

As last, the desk is a little bit small on a desktop with smaller dots,
Do you mean the poker form is a little small? Or, do you mean the cards
are small? The cards are the same size as Solitaire cards. ;-) Using the
Position property, they can be stretched to larger sizes if desired.
I would make it dynamic so that people who want to play it at office can hide
it directly for there boss and older ones at home have a simple look at it.
The poker game was a bonus just to show how the cards could be used.
A real poker game might have more options, I agree....

I did not check if your logic was working.
But that is why I posted it! You were supposed to look! <g>
For a poker game I would make it more in real, with bidding and have the
change to go away and the possibility to ask for seeing, now it is for me
more a kind of black jack with a poker system.


Yes, it is not a full game, it is a demo of how a programmer can use the
Card objects.

Thanks again for your comments. Do know that I have had other comments
that I want to include in the final version. I'll post a link here when a more
complete version is posted to a website. Please keep the version you have
for yourself, thanks!

LFS
Nov 20 '05 #3
I did not check if your logic was working.

Your poker logic I mean.

Cor
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Donnal Walter | last post by:
On Windows XP I am able to connect to a remote telnet server from the command prompt using: telnet nnn.nnn.nnn.nnn 23 where nnn.nnn.nnn.nnn is the IP address of the host. But using telnetlib,...
0
by: Rick | last post by:
Hello, I'm six months into asp.net/c# and enjoying it. A couple weeks ago I needed to write a "simple" high performance counter, the short story is it turned into a mini project. Many lesson...
1
by: Rick | last post by:
Hello, I'm six months into asp.net/c# and enjoying it. I needed to code a "simple" high performance counter... a couple weeks later and a lot of learning I think I did it. Many lesson lessons...
0
by: Larry Serflaten | last post by:
I am planning to share a Cards.DLL out on Planet Source Code and GotDotNet. But before I send it out to the public I would like to get a peer review to be sure it works as intended, and to avoid...
0
by: David Pendrey | last post by:
Greetings everyone, I am currently making a program which will need a peer to peer service but I have no idea how to make it work with the modern networks. Getting a peer to peer network on a...
1
by: EoRaptor013 | last post by:
We have a situation almost exactly like that in the MS documentation vis a vis peer-to-peer replication. We have three servers and three user groups, one each in Chicago, New York, and Bermuda....
0
by: EoRaptor013 | last post by:
I have been trying for several days to create a peer-to-peer replication among three servers. I first created the publication on Server A, enabled it for peer-to-peer to peer on the publication...
3
by: Joachim Klassen | last post by:
Hi all, if I accidentally use a TAKEOVER command with BY FORCE clause while primary and standby are in peer state I'll end up with two primary's (at least with FP10 and Windows). Is this works ...
21
by: Johan Tibell | last post by:
I would be grateful if someone had a minute or two to review my hash table implementation. It's not yet commented but hopefully it's short and idiomatic enough to be readable. Some of the code...
8
by: John Nagle | last post by:
Here's a wierd problem: I have a little test case for M2Crypto, which just opens up SSL connections to web servers and reads their certificates. This works fine. But if I execute ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.