Comments (13)
I am waiting sir !!!
from dominoes.
@abw333 is presumably not being paid to maintain this repo and looks like this is a personal project. @AhmadBilal1989 you are not entitled to the repo owner's time or attention, though you can ask for it (and i assure you that politeness and realistic expectations will be appreciated).
Please refrain from making exorbitant demands. Rude users are a big reason why people who maintain open source code bases burnout
from dominoes.
Hi Ahmad: unfortunately, I am quite busy and cannot help you with your personal project. That said, if you run into any issues regarding the usage of the dominoes library, please let me know and I will do my best to assist you. Additionally, you may find this repository's README and the full documentation (linked from the README) useful. Best of luck on your project.
from dominoes.
please help me, i am stuck
from dominoes.
Hi Ahmad, can you provide more details about the probabilities you are trying to calculate/monitor and how you are trying to calculate/monitor them? Perhaps an example would be helpful.
from dominoes.
I am using bayes' theorem to monitor the probabilities. I have written a probability mass function to calculate probability.
dominoes_tiles = Pmf()
for x in [(0,0),(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,1),(1,2),(1,3),(1,4),(1,5),(1,6),(2,2),(2,3),(2,4),(2,5),(2,6),
(3,3),(3,4),(3,5),(3,6),(4,4),(4,5),(4,6),(5,5),(5,6),(6,6)]:
dominoes_tiles[x] = 1/28
print(dominoes_tiles)
Where i am stuck is this works as far as game is not started and all tiles are equally likely, as the game starts and dominoes are shuffled every player has their 7 tiles and probability of each tile becomes 7/28.
An artificial player when receive its tile will change its tile's probability from 7/28 to 1 (using bayes'theorem).
And for all the other tiles it will have probability as 7/21.
I want when tiles are shuffled , i could monitor probabilities.
from dominoes.
I need very serious help, my deadline is ahead very soon.
from dominoes.
from dominoes.
How to update probability when i specific tile is revealed.
specific_tile = Pmf(['AI Player 0','Player 1','Player 2','Player 3'])
print(specific_tile)
print("\n\n")
specific_tile['AI Player 0'] *= 0.25
specific_tile['Player 1'] *= 0.25
specific_tile['Player 2'] *= 0.25
specific_tile['Player 3'] *= 0.25
specific_tile.Normalize()
print(specific_tile)
from dominoes.
Please tell me where to make changings and how? i am trying from many days.
from dominoes.
from dominoes.
@BilalAhmadJavaid You are welcome to offer monetary compensation for @abw333 's help, but he is not required to accept it. You can work that out with him.
from dominoes.
from dominoes.
Related Issues (8)
- AttributeError: 'module' object has no attribute 'abc' HOT 10
- Issue installing HOT 2
- CLI fails on Python 3.7 and dominoes 6.0.0 with "AttributeError: module 'collections' has no attribute 'abc'" HOT 1
- Playing with Windows HOT 1
- 0 indexing on dominoes HOT 1
- keep the board visible HOT 1
- after first game, first player is asked "left or right" on first bone HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dominoes.