Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [puzzle]

A gameplay element that tests the ingenuity of the player. It can have one or more logically-concluded solutions.

1
vote
1answer
41 views

UE4 - 2D puzzles in 3D game

I want to create a game where you walk around in 3D, and sometimes you can activate some kind of 2D puzzle. For example - you walk up to the door, and you can open it using lockpicks. The lockpick ...
0
votes
1answer
222 views

Algorithm to solve a battle in a card game

I am trying to write a solver for a sort of card game. I mainly do that for fun, and also to be able to learn a bit about the different types of algorithms I could use for this problem. The rules of ...
0
votes
1answer
128 views

How to create a puzzle where the player needs to rotate hexagons to connect to the neighbors?

I was researching different puzzle ideas and came across a game called Warframe that requires the player to hack a console to progress further into the level. The player has to spin around the ...
0
votes
0answers
29 views

Java riddle game in app answer encryption needed?

I am making a game on Java where the player has to solve several riddles/puzzles where a lot of times the answer is a single word that has to be submitted. But I am worried that players will be able ...
1
vote
2answers
55 views

Letter game board creation

I currently have a game concept similar to the mobile app Alphabetty where you are given a grid of letters and are tasked with spelling words. When you use a letter in a word, it disappears and new ...
67
votes
6answers
16k views

How can I know if my puzzle game is always possible?

I've made a sort of a puzzle game where the goal is to get rid of all of the white tiles. You can try it at the end of the question. Each time, the board is randomly generated with white tiles in ...
4
votes
1answer
113 views

How do I find out if this particular puzzle can still be solved?

A while ago, I made a simple game that involved swapping birds to combine them and release them to create points. The idea is that eventually, the birds would get stuck and your game is over, but I ...
1
vote
2answers
250 views

Generating Arrow Maze puzzles

I have picked this puzzle shown here as training in programming games. In these mazes you follow the arrows. From each arrow you can move to any of the arrows it's pointing to, in the same row, ...
16
votes
4answers
644 views

How do I build interesting mechanics-driven puzzles for my stealth game?

I'm currently working on a turn-by-turn puzzle stealth game (as a student group project), inspired by Tiny Heist. The basic mechanic is that every time the player moves a square / does a thing, every ...
1
vote
2answers
2k views

How to detect matches in match-3 game?

I am working on a match 3 game where the number of matched cells matters (if you match 3 then they just get removed, if you match exactly 4 then something happens, and if you match more than 4 ...
3
votes
1answer
346 views

Creating a Simple Puzzle resolution Algorithm

I develop a (really) simple puzzle game that asks you to join a point A to a B (enter/exit) using a ball and mechanisms that you can rotate to give the correct direction to the ball in order to join ...
1
vote
1answer
104 views

Solvable mazes that have contained cells

Is it possible to create a random maze that is solvable and uses a group of cells or single cells that do not depend on the cells around them? I am using a visual language that uses self contained ...
0
votes
0answers
575 views

Zebra puzzle generator algorithm

I made an open source zebra puzzle generator, also known as an Einstein puzzle. When I generate a table, I have to obfuscate (make obscure) it, and make some letters hidden with the good indication ...
0
votes
0answers
127 views

Draw lines over any objects (like in Hitman Go)

After playing Hitman Go, our team was obsessed with puzzle board games. We want to simulate the same puzzle mechanics for our game. How can we render puzzle lines on any game object in unity. like ...
2
votes
1answer
139 views

3d puzzle game generating levels

I want to create a puzzle game for my first year in college. I will use OpeGL and C++. The point of the game is to create a path between squares that have the same color, without making the paths ...
0
votes
1answer
220 views

Maze or puzzle algorithm for something similar to noodles

Not sure if anyone has played Noodles at all https://itunes.apple.com/gb/app/noodles!/id967624193?mt=8 but it is a simple puzzle game, that involves rotating tiles until they link up. The tiles are ...
0
votes
2answers
547 views

Creating puzzle on libGDX

Good afternoon. Help me please to add the code for the game. This game is puzzle. Everything works good, but I would like to have not just ordinary puzzles with numbers, but also the puzzle with a ...
0
votes
0answers
539 views

I Need help with Match-3 mechanics in Gamemaker

Engine used: Gamemaker Studio, Professional Edition Note: I just saw a suggestion to use an array/matrix, and that's probably infinitely more useful and easier than what I'm doing right now (free-...
7
votes
2answers
293 views

How to visually represent a time span?

I am making a puzzle game. The puzzle in question needs to be solved in advance, with the final solution being given as a series of commands which will instruct an object to navigate a maze. This ...
43
votes
16answers
6k views

How do I make educational games engaging not boring?

We make educational games for school students, age 7-18; we can't have any violence or blood in them. I have scoured Google Play and YouTube for good examples of educational games. So far I found ...
30
votes
11answers
9k views

How can I stop players from cheating on puzzle levels by finding solutions on the web?

In a level based, puzzle-like, game, how can we prevent the gamers to be searching on the Internet for solutions to a specific level? I'd like to let players fairly compare their scores. I've thought ...
0
votes
2answers
142 views

Procedural Turn Based Puzzle Generation?

Alright, we have a large set of possible moves (what the player is allowed to do). We also have a well defined state of success that defines the desired goal. We want to generate a configuration where ...
11
votes
3answers
785 views

Why do adventure game puzzles often have a single clue/solution?

When recently playing an adventure game (Dreamfall Chapters) it hit me that most adventure games I've played have had only a single solution to the "puzzles" they require you to solve. This frequently ...
0
votes
1answer
294 views

AI for Minesweeper like game

I am currently developing a Puzzle/RPG game which works a little bit like Minesweeper. You have a Field of Tiles and 2, 3 or 4 different colors from which you can choose. Now you have to uncover tiles ...
2
votes
1answer
443 views

Gamemaker - Change the fired bullets' direction using objects as guide

So I am trying to create a shooting-ship-puzzle game at sea on gamemaker. There is a playership that must shoot the enemy ships using only the available "whirlpools". There are many whirlpools in the ...
4
votes
3answers
254 views

Hinting at Steganography

I'm working on an ARG which will be implemented mostly through a standard website. I'd like to give some of the images on the site steganographic content (hidden content stored in an image, e.g. an 8 ...
2
votes
1answer
180 views

How do I recognize squares, rectangles … (like in TwoDots)?

I currently working on a small mobile game. Not a clone of TwoDots(!) but I need to recognize patterns like they do and I use the game as an example. How the game works? Players have to connect dots. ...
6
votes
3answers
2k views

How can I do optimal pathfinding for a Tetris piece?

Imagine a standard Tetris board (10x20) using the standard set of 7 tetrominoes. Given a Tetris game state and a target position, how can I find the optimal sequence of moves that will get the ...
7
votes
3answers
8k views

How can I ensure a grid can be filled with Tetris-like pieces?

I'm thinking of making a puzzle game where the objective is to fill a grid with shaped puzzle pieces (for example, the classic Tetris shapes). How can I go about generating a set of pieces that can ...
0
votes
2answers
254 views

Avoiding singletons for puzzle system [closed]

Say for instance I have a puzzle with 3 switches that need to be in some configuration (say all on) in one room, that opens a door in another, with a load screen separating, so I can't link the ...
1
vote
1answer
157 views

Approach to puzzle generation

I have a task in hand about making a puzzle generator, that can fill a game board with colored pearls, that then needs to be solved by the player. The core rules are Pearls are placed in a grid, ...
1
vote
1answer
916 views

How to implement a hint-system for nearby matches (in a Match-3 puzzle game)?

Taking Candy Crush as an example: In a Match-3 game, how would you figure out which nearby tiles are 1 move away from creating a match? Do you basically have to do it by trial-and-error on every ...
3
votes
1answer
197 views

How do I make an XML-specified animation show completely?

I want to add animation to my game board when updating tile positions. I can start an animation at the right point, but there's a catch: When the translate animation starts, it seems like the ...
2
votes
2answers
362 views

How to be sure that a target goal in a match 3 game level will not be impossible?

This is clearly not a coding problem but the logical one. I am starting to learn how to make a match 3 game. but there is a question rising in my mind. when i will set goal to complete the level, how ...
2
votes
2answers
165 views

How can I manage complicated visual state over a simple model in puzzle games?

I've been encountering this design challenge making a few toys with Javascript (CreateJS, EaselJS) The scenario is that you've got some sort of puzzle game with a simple game model. For a simple case,...
4
votes
3answers
168 views

Approaches to timed puzzle elements

I'm working on a side scrolling game that has a number of timed puzzle elements. As a simple example: I have a number of moving platforms that have been setup to transition in a pattern. Ideally I'd ...
-1
votes
2answers
121 views

How to glow a UIButtons in sequence

I am working on a memory based matching puzzle game. For that I need to glow buttons in a sequence that's generated randomly. I am glowing the buttons by changing its background images. I'd like to ...
2
votes
2answers
532 views

How do I make a puzzle piece move smoothly between locations?

I'm building a 2048 clone to sharpen my Libgdx skills, but I don't know how to ease a tiles between board locations. When I slide my finger, the tile moves rather swiftly. How I can make the movement ...
0
votes
1answer
1k views

What is the approach of creating an image puzzle game with libgdx

I would like to create a game which consists of taking a random image, slicing it up into some number of pieces (according to a selected difficulty) and letting the player solve the puzzle. I've ...
1
vote
2answers
1k views

Layer depth problem

I try to create Puzzle JigSaw,and I want to display the selected piece on the first layer, the pieces that are on the original positions(solved) on the last layer and the others on the middle. I ...
4
votes
2answers
272 views

How can I estimate the difficulty of user-generated content in my puzzle game?

I'm making a puzzle game where one player makes a puzzle, and other players attempt to solve the puzzle the first player made. The puzzles are a grid of squares that may contain different kinds of ...
2
votes
1answer
472 views

How do I animate pieces between puzzle states?

I'm developing a simple C# puzzle game as a learning exercise, using OpenTK. It's similar to Puzzles and Dragons' puzzle part: The aim is to match 3 pieces to remove them. Removed pieces are replaced. ...
8
votes
1answer
404 views

Algorithm to produce 'Lady or Tiger' puzzles?

What my problem is: There is a puzzle by Raymond Smullyan that works something like this: You are in a room with many doors. Behind some of those doors, there are ladies; behind the others, there are ...
0
votes
0answers
57 views

Tetris-like wall-kicking not working [duplicate]

So I'm making a falling-block puzzle game. It's not a Tetris clone, but the block clusters move in a similar fashion. I want to make it so that if you rotate against a wall, or against another piece,...
1
vote
1answer
88 views

Locating point on a closed path to maximize sum of distances to a sample of weighted points

I'm doing AI for a simple puzzled game and need to solve the following problem efficiently (less than 1 sec for the range specified since I need to do many iterations in a game). A sample of N (1 ...
2
votes
2answers
1k views

Logic For Puzzle Game - How do I do it?

What is the game all about? It's a puzzle game. I am using AndEngine to build it on Android platform (currently). I have divided the game into various World, with each World containing various Levels....
1
vote
3answers
174 views

Which is better: More puzzle apps in Store or more puzzle levels in a single app [closed]

The Question: Given a freemium model (ad-supported with in-app-purchase of additional levels/hints)... are chances of overall success better with a single puzzle app with lots (but varied) levels/...
10
votes
2answers
2k views

Algorithm for optimising a match game with known queue

I'm trying to write a solver in C# .NET for a game known as Flowerz. For your reference, you can play it on MSN, here: http://zone.msn.com/gameplayer/gameplayer.aspx?game=flowerz. I'm writing it for ...
15
votes
5answers
30k views

How can I generate Sudoku puzzles?

I'm trying to make a Sudoku puzzle generator. It's a lot harder than I expected and the more I get into it, the harder it gets! My current approach is to split the problem into 2 steps: Generate a ...
0
votes
3answers
209 views

Hardcore or casual? Help me understand please

I am working on an easy casual physics puzzle on iOS for kids and thought of this question. In my honest opinion casual kids games must have simple gameplay - one tap or command for a step, several ...