any one know how to make computer player

If your a member of codenstuff then this is the main place to be. Get together..talk..chat and ponder. Have fun. Chill out. Play games.
8 posts Page 1 of 1
Contributors
User avatar
reececlarke
VIP - Donator
VIP - Donator
Posts: 245
Joined: Tue Dec 08, 2009 6:47 pm

hi i am makeing a new game called monoply and i was wandering if any one knew how to make computer players if you do please replay thanks
Image
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4392
Joined: Tue Aug 04, 2009 1:47 am

Hello,

It depends on the type of game but seen as its monopoly you could control the computer players and use random functions.

For example when its the computers turn just use your dice randomiser and then move your computer player that amount of spaces. Do the same for when the computer needs to pickup a card or build propertie and stuff like that, just use random functions to decide what the computer player is going to do. It may not be easy to do with monopoly but thats the way I would go.

Hope that helps cooll;
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
reececlarke
VIP - Donator
VIP - Donator
Posts: 245
Joined: Tue Dec 08, 2009 6:47 pm

thanks i see what you are saying
Image
User avatar
Miutubevids
VIP-Member
VIP-Member
Posts: 293
Joined: Mon Nov 23, 2009 11:39 am

CodenStuff wrote:
Hello,

It depends on the type of game but seen as its monopoly you could control the computer players and use random functions.

For example when its the computers turn just use your dice randomiser and then move your computer player that amount of spaces. Do the same for when the computer needs to pickup a card or build propertie and stuff like that, just use random functions to decide what the computer player is going to do. It may not be easy to do with monopoly but thats the way I would go.

Hope that helps cooll;
Agreed,
I would make some things more likely like buying a property, in monopoly people usually buy a property if they land on it so you could have like a random number generated between 1 and 3 and if it is 1 or 2 it would buy and 3 it would not
Don't BS the BSer

RePlay V1.0 - Record your Mouse Clicks, Mouse Movments and Keystrokes
AutoClicker v1.0
SnowScreen
Reaction Timer Game V1.0
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

sorry if you think this is spam but how would i do this for a button fighter like the progress bar type of fighter - how would i make a random attack for the computer?
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
nelsonxd
Just Registered
Just Registered
Posts: 8
Joined: Thu Jul 08, 2010 4:55 pm

thanks i see what you are saying!!!!!!!!!
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

nelsonxd wrote:
thanks i see what you are saying!!!!!!!!!
this seems like spam this is completely offtopic
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
Cheatmasterbw
Coding God
Coding God
Posts: 1506
Joined: Fri Jan 01, 2010 2:30 pm

you may have to create an artificial intelligence algorithm, as most video games use for computer players.
http://www.megaapps.tk/
8 posts Page 1 of 1
Return to “Codenstuff boardroom”