Nistor Alexandru

Greenhorn
+ Follow
since Oct 08, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nistor Alexandru

William P O'Sullivan wrote:Nistor..

How is the game of monopoly played?

The players roll two dice, this can be automated. The player does not have to "throw".

The bank can be automated, $200 for passing go etc.

The only choices players need to make on their turn are (not limited):
- To buy a property or not
- To place houses/hotels
- Sell/Mortgage property/houses/hotels to pay rent or fines
- Unmortgage property
- Use the get out of jail free card

So if you maintain the server side, manage the board, players positions, properties, cash etc.
all you really need to worry about is the interaction socket wise during a players turn.

sockets are fun, but you might be better off with a RESTful web service if this is a web-centric application

WP




The GUI is created by using swing so It's not a web base game aldo I wish I would have created a web based game things would have been much easier
11 years ago

Michael Dunn wrote:> I am in my last year at coledge 

seriously, if your spelling is that bad,
change to a course that has no language
requirements.



My native language isen't english.I am sorry about my bad spelling.
11 years ago
Hi first of I would like to say that this probably will make many people mad for what I am about to ask but I have no more time.I am in my last year at coledge and for my final exam I chose to create a monopoly game in Java.I am still very much a beginner when it comes to programming so this is maybe why I am stuck with my project.I have developed the game to the point where it works to be played by two players , and against an AI(more or less).When I presented the project to my coordinating teacher 2 weeks ago he told me to create the game to be playable via the network.So as any beginner programmer I started to do my reasearch and this way I found out about sockets.I have been experimenting with them for two weeks and I can't seem to learn more on the subject then sending a string to the server and back.I only have 3 more weeks in witch I also have to wright the essay and that is not enought time for me to be able to complete the project.I posted the source code to my project here : http://www.2shared.com/uploadComplete.jsp?sId=V4MFcnpuEUqeLSbZ .I was hoping that someone could take a look at my code and provide a skelectron code at least for one method on how should I create the client/server relation for my project.
11 years ago
If you must know I am trying to learn to program on my own I am 22 and barely finished Head first Java I am still barely understanding programming concepts but if asking for help is such a problem then so be it
11 years ago
Hi a friend of mine asked me to create a program that turns Integers into strings for example if I input the number 21 the computer needs to convert it into twenty-one.Has anyone done something similar before I have to do it in another language I just need to see how I should proceed in this.Furthermore I also want the computer to convert the number from arabic digits into roman digits example : 21 to XXI.Anyone no of a program writen in java or javascript that does something similar?
11 years ago
Hi all I am interest in some resources to read about split graphs , bipartite graphs . triangulated graphs , cograph and P4-free graphs.I would also like if posible if this reasources have some sort of simple aplications in them in java but if they are in another language it dosent matter.
Thank you in Advance!
12 years ago
Hi I am a beginner Java programmer and for the last couple of weeks I have started to develop a Monopoly Game.Everything has gone very well and the game works in Player vs Player mode exactly the way I want it to work so far.I also created a dum AI that at the momentonly rolls and buys teritories.This is where I hit a wal , I have no Ideea how I should set the rulles for the AI so it can be more chalanging.

The first thing if I would like is if anyone can give a link t a Monopoly game with an AI (dosent mater if it has a src or not what matters if I can download it) so I can have a pick on what kind of rules I should set to the AI.

The second part is that I would also like some fast resources if anyone knows for how I can make the game playable via network.The same concepts will probably be aplied in a chat witch I would also like to add to the game but if not some aditional resources will be very mutch aprecieted.

Thank you!
12 years ago