# Questions tagged [game]

The tag has no usage guidance.

36 questions
Filter by
Sorted by
Tagged with
62 views

### How to find optimizers with computer in this kind of minimax problem

I have a minimax problem of the form \max_{\substack{u_1,\dots,u_n \ge 0 \\ u_1+\dots+u_n = 1}} \min_{\substack{v_1,\dots,v_m \ge 0 \\ v_1+\dots+v_m = 1 \\ v_{j_1} \le v_{j_2} \hspace{1mm} \forall (...
• 125
923 views

### How can I efficiently calculate exact probability distributions for D&D dice like "4d8"?

I play a lot of tabletop role-playing games, and I have been interested recently in modeling the various game mechanics involving dice. As I see it, a single throw of an eight-sided die can be modeled ...
• 2,118
1 vote
286 views

### How to Create an Efficient Word Square Algorithm?

I am working on the Wolfram Challenge Babbage Squares. I have looked at the following resources in order to come up with an idea for how to find all the possible word squares: Word Squares and Beyond ...
• 1,077
101 views

### Is it possible to create Android App Bundle (aab) for Google play with Wolfram language/Mathematica?

Mathematica is excellent tool but I don't know if is it possible to create Android App Bundle (aab) for Google play with Wolfram language/Mathematica or not? Please advise or share your opinion/idea ...
• 125
1 vote
33 views

### Automatic import of the lexicon for the Game of Life

I am trying to import the lexicon for the Game of Life, preserving the structured information as far as possible automatically (so if the data changes a future import will update it). The text form of ...
• 2,632
1 vote
139 views

My code is ...
• 11
1 vote
131 views

### code in mathematica for the game of guessing

Can we write code in Mathematica for the game where the user guesses an integer between 1-99 produced by the computer? If you have any ideas, I would be glad if you could help. I tried this: ...
• 11
1 vote
55 views

### How do I publish a game I made in Mathematica so that anyone can play it who is unfamiliar with Mathematica?

I'm trying to figure out how to publish a game so a friend can play it by just providing a link to it. Is that possible or do they have to have an account or be tech savvy?
1 vote
59 views

...
• 369
106 views

### Plot of TU game on Windows

i need to make a barycentric plot including core vertices of the following TU cost game: c(1)<=150 c(2)<=100 c(3)<=100 c(1,2)<=200 c(1,3)<=200 c(2,3)<=200 c(1,2,3)<=200 ...
• 23
103 views

### Neural network for a simple game?

I'm taking a class that is based on the Mathematica coding language, and we must do a 6-week final project. I am considering coding a neural network for a simple game like 2048, pacman, snake, etc. ...
241 views

### Image-based reinforcement learning with neural networks

After seeing that "OpenAIGym" is not exactly supported on Windows and playing around with https://www.wolfram.com/language/12/neural-network-framework/train-an-...
• 376
1 vote
85 views

### problem with maximize function and envelope function

I Have the problem with the maximize of this problem: ...
262 views

### TuGames package does not run

I downloaded the package TuGames from http://library.wolfram.com/infocenter/MathSource/5709/ to calculate Shapley Values in cooperative bargaining games. I got it to work earlier today but after ...
182 views

### How to generate optimal solution and order the rest

This is a decimal maze, you start with 100 points and you must choose the path that gives you the highest score. Rule: You should not go twice for the same point and the same segment. My question: Is ...
• 149
82 views

### Input without dialog

I'm programming a game, similar to a Sudoku in the sense that you have to put numbers in a grid. When Sudoku is played in a computer, (for instance, in https://www.chiark.greenend.org.uk/~sgtatham/...
430 views

### Sophisticated API integrations / Making a card game in Mathematica

Earlier today I saw that there was a deck of cards API. It's a relatively simple API, but it does require us to handle statefulness. How can I link to this to, e.g., build out a Mathematica version ...
• 45.6k
443 views

### 24 Math Game Algorithm?

Object of the game: Given 4 positive integer numbers, perform elementary operations on the 4 numbers so that the result gives you 24. i.e. given 9,6,5,3 a correct way to yield 24 is (6-3)*5+9 = 24 ...
243 views

### Hanoi Tower minimum moves between any two states

Goal: I want to make some gifs which show minimum moves between two states. All the avaliable states can be written as a graph, Hanoi Graph, GraphData[{"Hanoi",n}]...
• 3,696
561 views

### Chess in Mathematica

Is there a Mathematica chess package? I'm trying to generate GIFs from chess PGNs. Additionally, I like to try some chess algorithms against a chess engine and watch the game and run statistical ...
• 1,783
237 views

### webmathematica to share my game?

I wrote the code for a puzzle game. It's written in a notebook that I would like to share on the internet: ...
• 41
825 views

### Convert image of graph to Graph [duplicate]

The board game Ticket To Ride has a board readily represented as a graph. I have an image of a graph (taken from BoardGameGeek) that I'd like to convert to graph in Mathematica for further analysis. ...
• 1,288
1 vote
74 views

### How to put images on a map so that they disapear when another image passes over them

We are working to create a pacman type of game and we cannot figure out for to get colored dots on the maze to represent the food the pacman eats. Here is our code so far: ...
3k views

### The Game of Hex in Mathematica

The Game of Hex is a game originally developed by Nash, and it's rules are very simple. You start out with a hexagonal tiling of some size: There are two players. The game is in turns, and every time ...
• 3,574
917 views

### Can Mathematica put these puzzle pieces together?

I have five DXF files with various geometric figures. Are squares with a different geometric shape in each DXF file... Four DXF files have a square with a different geometric shape on one side while ...
• 9,065
2k views

### Programming the fiver game

Obviously, even if I ask a lot of question I am, obviously, still a dummy!!!! I want to program the fiver game. It's a very simple game played solitary on a $5 \times 5$ the rule is elementary : if ...
• 4,542
280 views

### Can Mathematica help me win my on-line game?

I've become addicted to the Forge of Empires web browser game. Presently, the game has a special event going on, which is in commemoration of the 2016 EUFA Soccer Championship. The event has a set ...
• 19.4k
115 views

### How to use Mathematica to help me get highest score in every layout? [closed]

The game is hitting the headline in these day and everyone can click this link to play it.The game have a very simple rule like following: Game Rule It will give you a initial layout when you click "...
• 24.6k
351 views

### Can I make a simple game in Mathematica?

Here is the game outline: $\hspace{2.5cm}$ There is one player. The player ($\mathscr{L}$) moves from node to node limited by the directed arrows. As the player moves, $\mathscr{G}_{\Huge\cdot}$ ...
• 31
263 views

### Something like MATLAB Cody for Mathematica? (Learning through exercises.)

At some rainy days, when I realise again the TV program is getting worse and worse ... I visit Cody: Cody™ is a MATLAB Central game that challenges and expands your knowledge of MATLAB. As a web ...
• 1,553
474 views

### How can I improve my prediction for the end time of the Reddit button game?

There is an April Fools game on Reddit where users with accounts can press a button (once) to reset a 60 second countdown timer: https://www.reddit.com/r/thebutton http://www.redditblog.com/2015/04/...
• 9,548
621 views

### Nash equilibrium in game theory?

Are there examples of the solution of Nash non-cooperative games with mixed or pure strategies? How could be implemented in Mathematica 10?
698 views

### Minesweeper: How to Dynamic a lot of graphics with high-speed?

Recently I've implemented Minesweeper in Mathematica. ...
• 3,623
2k views

### Poor performance from Graphics3D

I wrote a game -- 2048，Some codes are from http://blog.wolfram.com/. My codes are in notebook downloads I added code so that the game can play in 3D form, but when I play it, I find that it is too ...
• 3,623
2k views

### How to plot a coalition game?

Consider a game of a function $v$ which has \begin{align} v(1) & \geq 1\\ v(2) & \geq 0\\ v(3) & \geq 1\\ v(1,2) &\geq 4\\ v(1,3) &\geq 3\\ v(2,3) &\geq 5\\ v(1,2,3) &...
• 611