Questions tagged [game]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
183 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 ...
12 votes
6 answers
2k views

The Battleship game: Identify objects within a matrix

Toy data ...
1 vote
1 answer
637 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 ...
7 votes
1 answer
835 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 ...
0 votes
0 answers
88 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 (...
10 votes
5 answers
1k 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 ...
1 vote
1 answer
196 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: ...
1 vote
0 answers
37 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 ...
1 vote
1 answer
215 views

Number guessing game to 1-100

My code is ...
1 vote
0 answers
61 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?
17 votes
2 answers
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 ...
30 votes
1 answer
738 views

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

Recently I've implemented Minesweeper in Mathematica. ...
1 vote
0 answers
71 views

ArrayPlot rasterization to PDF blurry

...
11 votes
2 answers
2k views

How to optimally solve and generalize this Conway's Game of Life puzzle

I tried solving this using mma. I am aware of this command - Cellular automata. But i don't want to use that coz then there is no challenge. So below is how i did it and my question is can this be ...
7 votes
3 answers
292 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 ...
4 votes
1 answer
279 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 ...
2 votes
1 answer
120 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 ...
4 votes
0 answers
120 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. ...
5 votes
0 answers
276 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-...
1 vote
2 answers
92 views

problem with maximize function and envelope function

I Have the problem with the maximize of this problem: ...
9 votes
1 answer
476 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 ...
49 votes
4 answers
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 ...
7 votes
1 answer
189 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 ...
2 votes
1 answer
101 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/...
39 votes
2 answers
969 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 ...
2 votes
1 answer
606 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 ...
10 votes
1 answer
278 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 votes
1 answer
257 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: ...
4 votes
1 answer
1k 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 vote
0 answers
75 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: ...
2 votes
0 answers
121 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 "...
5 votes
3 answers
3k 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) &...
3 votes
1 answer
435 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}$ ...
4 votes
0 answers
269 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 ...
8 votes
1 answer
494 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/...
2 votes
0 answers
741 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?
10 votes
1 answer
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 ...