Questions tagged as 'jogos'

4
answers

Check Old Game winner

The algorithm teacher asked us to write a code to play a simple old game in Java. And I already have everything ready, but I'm not too happy with the solution I've got to validate who won the game. I've done a series of if and elseifs to chec...
asked by 08.10.2014 / 13:48
1
answer

Drawing Top Gear

I'm trying to make a game like Top Gear (SNES) to get a little bit of knowledge about 2D games, but I had a question about the clues: are they straight lines, curves or images? I'm using JavaFX. If I try to use curves ( QuadCurve ) it i...
asked by 21.09.2015 / 01:10
2
answers

Procedural generation

In games like minecraft, cube world and starbound there is the term "Map procedurally generated". As you walk during the game, the map is created, but with a "seed" that will always generate the same map. > How can you use a small set of chara...
asked by 02.07.2014 / 19:52
3
answers

Doubt two player game, half screen upside down

I am creating a program to practice what I have learned so far and to learn more, but I have reached a stalemate. The question is: I'm creating a question and answer game for two players, each one stands on one side of the phone to play, the...
asked by 09.06.2016 / 02:16
2
answers

Many "if" in an old game for android

When checking if someone has won, I need to use IF several times. I would like to know if you can simplify the code a bit and even replace the IF s. //left, top, right, bottom are int positions relative to canvas //state is a enum{Blank,Re...
asked by 06.08.2018 / 22:20
1
answer

How to identify and count prefab collisions at Unity

I'm developing a game for android on the unity platform that is similar to the Tetris game, the difference that is geared towards chemistry, and instead of going down the tetrominos will go down the elements to compose a molecule. Well, what log...
asked by 20.06.2016 / 16:52
1
answer

Brute force algorithm for game resolution Sudoku in C

I have the following code written in C : #include <stdio.h> #include <stdlib.h> #include <time.h> // Variáveis globais int jogo_tabuleiro[9][9] = {0}; int func_quadrante(int quadrante, int numero) { int linha_inic...
asked by 28.06.2016 / 06:00
2
answers

Pixel distribution algorithm

Well, lately I've been thinking about algorithms for creating random maps / maps and I've got a question that I'll post here for you to elucidate. Suppose I have green and yellow pixels. I'm not working with array, but rather a one-dimensiona...
asked by 04.11.2016 / 17:03
2
answers

Indie Games Licensing

Can I sell games made in Blender without worrying about licenses?     
asked by 29.07.2014 / 05:15
1
answer

Monetize Unity 5 games on Windows Phone 8.X

How do I display ads in my game made in Unity 5 to the Windows Phone 8.X platform?     
asked by 17.01.2016 / 03:00