Questions tagged [game]

The tag has no usage guidance.

37 questions
Filter by
Sorted by
Tagged with
2k views

Toy data ...
1 vote
581 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 ...
771 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 ...
86 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 (...
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 ...
148 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 ...
1 vote
186 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
36 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
190 views

My code is ...
1 vote
60 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?
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 ...
727 views

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

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

...
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 ...
289 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 ...
273 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 ...
112 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 ...
116 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. ...
268 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
89 views

problem with maximize function and envelope function

I Have the problem with the maximize of this problem: ...
458 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 ...
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 ...
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 ...
95 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/...
962 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 ...
558 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 ...
272 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}]...
255 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: ...
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
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: ...
118 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 "...
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) &...
421 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}$ ...
268 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 ...
492 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/...