Re: the best way to make random events happen in my python game?

2019-12-12 Thread AudioGames . net Forum — Developers room : philip_bennefall via Audiogames-reflector
Re: the best way to make random events happen in my python game? For chess and other so called "perfect information" board games, minimax used to be the most common approach plus a bunch of fancy additions. But nowadays, neural networks have shown to be far superior for such ta

Re: the best way to make random events happen in my python game?

2019-12-12 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: the best way to make random events happen in my python game? @8, right. You can. Trouble is, that requires a lot of hardcoded if statements. You can predict all the outcomes in a simple game like this one, but let me propose a more difficult example, Farkle. Not only do you have to

Re: the best way to make random events happen in my python game?

2019-12-12 Thread AudioGames . net Forum — Developers room : omer via Audiogames-reflector
Re: the best way to make random events happen in my python game? hey 6,you can code diffrent AI    behaviours that the game can choose from the startfor example 1, careless, beds for 4 5 turns, and ends up, do it with that random if (turn==4): turndice(4)if (score>=

Re: the best way to make random events happen in my python game?

2019-12-11 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
Re: the best way to make random events happen in my python game? True, an AI is hard to code. and not even to mention the difficulty levels it contains...but thanks for that, i will take this in considderation. URL: https://forum.audiogames.net/post/484882/#p484882 -- Audiogames

Re: the best way to make random events happen in my python game?

2019-12-11 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: the best way to make random events happen in my python game? I have been considering this dilemma for quite a while now. I love AIs, I think they are really interesting, but, as you have just found out, building one is quite a task.If I'm not mistaken, you are trying to cre

Re: the best way to make random events happen in my python game?

2019-12-11 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: the best way to make random events happen in my python game? I have been considering this dilemma for quite a while now. I love AIs, I think they are really interesting, but, as you have just found out, building one is quite a task.If I'm not mistaken, you are trying to cre

Re: the best way to make random events happen in my python game?

2019-12-11 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
Re: the best way to make random events happen in my python game? Ok, thanks a lot kianoosh for that. that was exactly what i wanted to know. I have a computer_turn function which makes the computer play when the player end's his or her turn. so all the computer's functions a

Re: the best way to make random events happen in my python game?

2019-12-11 Thread AudioGames . net Forum — Developers room : kianoosh via Audiogames-reflector
Re: the best way to make random events happen in my python game? So, when you're to do such a thing, you need to know where exactly to put the variable. Nice one to ask because there are cases that programmers make a mess of their program's processor usage due to improperly place

Re: the best way to make random events happen in my python game?

2019-12-11 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
Re: the best way to make random events happen in my python game? Ah, i think that could work. thanks URL: https://forum.audiogames.net/post/484630/#p484630 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin

Re: the best way to make random events happen in my python game?

2019-12-11 Thread AudioGames . net Forum — Developers room : SkyGuardian via Audiogames-reflector
Re: the best way to make random events happen in my python game? You could put the random computer variable in its own function and call it that way URL: https://forum.audiogames.net/post/484620/#p484620 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin

the best way to make random events happen in my python game?

2019-12-11 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector
the best way to make random events happen in my python game? Hi all, i hope some one or any one could help me with this.I am making a game using python 3.7 and lucia.I want to make a random event happen. there are only 2 events supposed to happen. i can make the events happen for the