871 Topics

Member Avatar for
Member Avatar for Xecantur

Having a hard time trying to wrap my head around why my grid system fails, I'm assuming my train of thought is stuck at the moment(akin to writers block). My understanding of grids is while the current cell isn't the last one in the column/row(w/e is horizontal) /*do stuff*/ then …

Member Avatar for Xecantur
0
329
Member Avatar for IndieDeV2002

I have been developing a simple java game, however I would like to add some Music to my game because it seems quite boring whenever you play it.

Member Avatar for bCubed
0
935
Member Avatar for mixmagz

Here is a code for those who wants Tic Tac Toe [CODE]#include <string.h> #include <stdio.h> #include <conio.h> #include <dos.h> #include <io.h> main() { //_setcursortype(_NOCURSOR); int x1=0, x2=0, x3=0, x4=0, x5=0, x6=0, x7=0, x8=0, x9=0; int o1=0, o2=0, o3=0, o4=0, o5=0, o6=0, o7=0, o8=0, o9=0; int a1=0, a2=0, a3=0, a4=0, a5=0, …

Member Avatar for mkamrul
0
1K
Member Avatar for seh1

Hi, My friend is thinking of creating a game in which you hack into a fake safe/vault "A" and once you are in that "safe" you write code/create a firewall to stop the next person getting into that safe behind you (i.e. into safe "A") and then you work on …

Member Avatar for Dani
0
284
Member Avatar for Benjamin_10

Hi I've got most of the code finished but I can't for the life of me figure out how to correctly count neighbors for the edges and corners of the array. These are the rules. If the cell is currently empty: If the cell has exactly three living neighbors, it …

Member Avatar for Hiroshe
0
4K
Member Avatar for 111100/11000

//**numHits and numHalfHits give incorrect values.I don't know why** #include "Mastermind-game.hpp" using namespace std; int main() { bool choice = false; cout << "This is a game of MASTERMIND v.0.1" << endl; while(1) { cout << "Enter 1 if you want to solve game for your self" << endl; cout …

Member Avatar for nullptr
0
539
Member Avatar for chiste91

Hi. i need some help with this game i want to simulate with c++ (with the graphics.h library). i want to make a replica of Pacman. i already built the map, but now i got stuck: #1. i don't know how can i avoid the walls/obstacles (i have a blurry …

Member Avatar for shafaqsajjad
0
11K
Member Avatar for Vikram Sehgal

So i have a code for a menu and i am facing some problem.. code:- do { ch = getch(); switch(ch) { case 'W': case 'w': system("CLS"); cout<<" MOD v1.0\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"; cout << " --> PLAY\n\n"; cout<<" HELP\n\n"; cout<<" EXIT\n\n"; break; case 'E': case 'e': system("CLS"); cout<<" MOD v1.0\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"; cout << …

Member Avatar for jkhippie
0
261
Member Avatar for rao naeem
Member Avatar for Stavros_1
0
268
Member Avatar for ahmedzahir
Member Avatar for baby_c

Hi friends..! Need little help here to choose a language to code my 2nd year project assignment. We are given to develop a 'Tank game' which will ultimately play over a network. maximum four players can join the game, there is a server application runnig on a server machine and …

Member Avatar for rozermartin28
0
338
Member Avatar for Vikram Sehgal

Hello, I am making a 2d shooter game, and I dont knnow how to make the player's ship move left and right with left and right arrow keys... please help me. I have to finish this project before 6th... please help

Member Avatar for Vikram Sehgal
0
254
Member Avatar for 111100/11000

/* Made in code::blocks 12.11 -randomly generated terrain mirrored to be equal for bought players - - */ #include <iostream> #include <windows.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <fstream> #include <cstring> #include <string> #include <cstdlib> #include <ctime> #include <sstream> #include <cctype> using namespace std; //Public functions char printMap(char terraniValue); …

Member Avatar for 111100/11000
0
1K
Member Avatar for skorm909

I have a c++ game that i made and i was wondering how i would make it so that i could add graphics, or just use the same basic concept of the game and just put those into a fresh game that i make with graphics. well my question is …

Member Avatar for BogdanCov
0
2K
Member Avatar for joseph.suanino

#include<stdio.h> #include<math.h> #include<conio.h> #include<string.h> #include<stdlib.h> int main() { int i, n, diff; int x=rand() % 100; int bMoveHigher = 0; int bGuessedCorrectly = 0; printf("Welcome to Guess a Number Game\n"); for(i=1; i<=6; i++) { printf("ATTEMPT %d: Enter your number: ", i); scanf("%d", &n); if(n==x) { printf("Congrats! You have guessed the …

Member Avatar for David W
0
286
Member Avatar for joseph.suanino

#include <stdio.h> #include <math.h> #include <conio.h> #include <process.h> #include <string.h> void main() { int i, n, diff; int x = rand() % 100; int bMoveHigher = 0; int bGuessedCorrectly = 0; printf("Welcome to Guess a Word Program\n"); for (i = 1; i <= 5; i++) { printf("ATTEMPT %d: Enter the …

Member Avatar for Schol-R-LEA
0
225
Member Avatar for MiniApocalypse

HI guys! Im making a sudoku game. Ive got all the numbers in a 9 by 9 vector. But im unsure how to proceed. How do i work out which blank space (selected by the mouse) corrisponds with which blank space in the vector? I need it to work out …

Member Avatar for WolfPack
0
148
Member Avatar for Encheiridion

hi, done some work is not finished yet but this two versions\stages are runable. and what is very helpfull, to read opinion, suggestion, critic, ideas, feelings about. here is the link: http://softwareconstructor.webs.com/ and i need to read what u think about two firsts: * tryout2 (10bm) * and tryout1 (190mb) …

Member Avatar for Jorge Cordeiro
0
193
Member Avatar for hasbuy
Member Avatar for Gupta_1

hi friend i would like to make a programe in c++(code block) . which include the fallling candy, and the candy is collected by a baby below. so could you help me to make that game in c++

Member Avatar for Ancient Dragon
0
133
Member Avatar for Doogledude123

So I have a button which adds a "Miner" then removes the cost of the Miner. The problem is that it is taking away too much, double the cost, and also will not buy if the current gold is equal to the cost. I have no idea why it is …

Member Avatar for sepp2k
0
305
Member Avatar for b.moattar

a program to play Rush Hour. the board is supposed to look like this: -------- |GG...Y| |P..B.Y| |PRRB.Y> |P..B..| |O...TT| |O.FFF.| -------- then You may assume the user enters either upper-case or lower-case input, with or without intervening spaces. and The program ends when the red car touches the '>' …

Member Avatar for rubberman
0
254
Member Avatar for game4tress

I'm creating a chat system and the problem is that when testing with two users, the secound user (entering the system) can see the first user (already loged in), but the first user will never see the next user(s) entering the system. I know that the problem comes from the …

0
211
Member Avatar for Urgent
Member Avatar for GUIPaPa

Guys why is my image not loading on my JFrame?? BTW I am using eclipse on my mac. Code for Board : package ourgame; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Board extends JPanel implements ActionListener { Dude p; public Image img; Timer time; public Board() { p = …

Member Avatar for GUIPaPa
1
503
Member Avatar for happygeek

As a gamer myself, I thought that last year was a pretty good one. After all, not only did I get to play both GTA V and Call of Duty: Ghosts (indeed, I'm still playing it and working my may through the prestige levels) but if I had enough spare …

Member Avatar for DarkSealer
0
660
Member Avatar for James_25

I know this may seem to be beating the proverbial dead horse, however I haven't seen anything specific to what language is best to terraforming and generation of a basic sandbox. Any suggestions as to what languages or even programs that can be tied into game development for interaction between …

Member Avatar for emilo35
0
265
Member Avatar for happygeek

Nintendo is sitting firmly at the top of the games console tree right now, having just been 'bigged up' by the release of the US sales figures for October which show the Wii on 803,000 and the DS on 491,000. Both well ahead of nearest rival, the Xbox 360 on …

Member Avatar for johndaniweb
0
1K
Member Avatar for java786

Write a program that simluates a game of dice. In this game, players take alternate turns rolling two dice. On each turn, they record the sum of the two dice and add this to their total. If a player rolls a doublet (both dice have the same value), then the …

Member Avatar for mathijs
0
4K
Member Avatar for pakawakawak

My university's TA helped me setup all the necessary files to run OpenGL on vs 2008 (even though his .cpp and .h files were written in vs2013) yet when I compile the project, it gives me a white window. The same code will display a 3d mouse in the computer …

Member Avatar for pakawakawak
0
155
Member Avatar for tingwong

Hello everyone, this is my first help post on daniweb so please excuse me if I have done something wrong. So as for my question, I have to shuffle an array of card objects. This is the code I have come up with so far. public void shuffleDeck(){ Random seed …

Member Avatar for cael13
0
1K
Member Avatar for maryyy

Should be written with the program which will be programmed lotto game in which the generated 7 random numbers in the range of numbers from 1 to 39 (valid numbers are from 1 to 39). Generating numbers must be stored in a vector. Design of the program will be: - …

Member Avatar for NathanOliver
-1
115
Member Avatar for HoverportMedia

This simple game came from the children's story Goodnight Moon. If you've ever read it, the book constantly says "Goodnight" to an object or something in the room. This game is based off of that. All you need to do is post a Goodnight to something, someone, (pretty much anything …

Member Avatar for <M/>
0
293
Member Avatar for Doctor Inferno

[b]TEAM A[/b]: includes members whose BC username start with A C E G I K M O Q S U V W [b]TEAM B[/b]: includes members whose BC username start with B D F H J L N P R T X Y Z [b]SCORE Board[/b] Team A: 4 Team …

Member Avatar for cproger
9
46K
Member Avatar for nichom

Currently I am working on a project (on and off for two months) called Chrono Leap. The main idea is that you will be able to go from the past to the present to the future whenever you want. You will face creatures and all that jazz as you go …

0
171
Member Avatar for mikerock

I am developing game in HTML5, I have search lot of article of html5 game engines. some of them are paid, have pros as well as cons. Could anyone suggest me best HTML5 game engines (freeware)?

Member Avatar for mrnutty
0
138
Member Avatar for happygeek

Any other collectors of vintage video game consoles on DaniWeb? Or am I really the only person sad enough to have more than 1000 of the things in my house? My collection has even been loaned to a museum for a special history of video gaming exhibition before now. [attach]15691[/attach]To …

Member Avatar for ­V­­
4
383
Member Avatar for Barhoom

Here is the code, how would i go on about making the bullets fired (size 6x6 pixels) collide with the blocks currently on the map and with enemies (48x48 pixels) which are to be implemented? Desperatley need a solution! // inner variables var canvas, context; // canvas and context objects …

0
163
Member Avatar for Sh4dowz

Hello, I'm new to these forums and I was wondering if any of you guys know a programmming language that is more designed for Video Games than casual software. I want to make a basic 2D platformer or maybe a simeple RPG that has a moving sprite. I have tried …

Member Avatar for tuto.narahenpitiya
0
690
Member Avatar for hulkishungry

Hi, I studied Java last year in university but I found it rather difficult - mainly because I made it difficult for myself by not studying as much - but hey. I've been working on a console-based "game" with the language and I've just had a hit of inspiration to …

Member Avatar for mustafaneguib
0
255
Member Avatar for ObSys

Hey guys I recent wrote the deal or no deal game in Java for fun. It currently operates using a Command driven interface where users input numbers based on textual feedback. My aim is to develop this into a full GUI interface, however, I have not met GUI's yet in …

Member Avatar for JamesCherrill
0
467
Member Avatar for myfootballfacts

[MyFootballFacts.com](http://www.myfootballfacts.com/index.html) has recently lauched an Android App. The Android reads data from excel files and transforms to data to tables on our App. The table has a feaature whereby the first column and row are frozen when the tables are large. We would like to do the same for IOS. …

Member Avatar for LastMitch
0
148
Member Avatar for surya.putra.94849

can someone show me how to make an animation in turbo pascal? i'm a new and i'm stuck in making my first game. especially in the animation of the game.

Member Avatar for surya.putra.94849
0
518
Member Avatar for schroaus

I REALLY need some help. I ahve been writing a tic-tac-toe console application program in delphi. I had most of the logic finished for the program when I made a mistake. At the beginning of a class period the program was working fine, at the end of the class it …

Member Avatar for Schol-R-LEA
0
3K
Member Avatar for Pashan

Hi guys I'm having major issues with this assignment of mine and I cant even figure out where to get started. Any help would be greatly appriciated. I must write a program that outputs that plays the game Hi Lo with a user until they decide to quit. The program …

Member Avatar for Pashan
0
2K
Member Avatar for mwian

My son wanted an Nintendo DSi, so he can play games with his friends. The Nintendo can't.won't connect to the Internet. I emailed Nintendo support. Their advice was for me to enable DHCP. I checked that and it is enabled. Next on the list is to configure the Nintendo manually. …

Member Avatar for sean.dumler
0
4K
Member Avatar for hasan bahadır

Hi guys. I am beginner at developing and currently learning c#. I was asked for developing a console based snake game by my knowlage of c#. So i have to develop the game by using classes( not structs etc) arrays methods.. I can use any ideas on that matter. Thanks.

Member Avatar for hasan bahadır
0
352
Member Avatar for happygeek

When [Exponential Interactive](http://exponential.com/), an advertising intelligence provider, analysed the actual behaviour of more than two million Brits viewing Grand Theft Auto content online, the [results](http://meteorpublicrelations.com/wp-content/uploads/2013/10/GTA-insights-from-Exponential.jpg) were rather surprising. ![ae2cdc7c96447a4e0d6acabda34a5cbd](/attachments/large/0/ae2cdc7c96447a4e0d6acabda34a5cbd.jpg "ae2cdc7c96447a4e0d6acabda34a5cbd") Here are the key conclusions: The GTA audience are 33% more likely than the average internet user to have children; …

0
307
Member Avatar for happygeek

According to research covering more than 100 universities across the globe from earlier this year, 58% of the academic leaders questioned believed COBOL programming should be on the curriculum. Yet only 27% could confirm that was the case, and only 18% had COBOL as a core part of the course …

Member Avatar for happygeek
0
3K
Member Avatar for Seswing142

The program is supposed to ask the user for the range of the guesing game (1-10), ask them how many guesses they want, and then ask them for a guess. Then it prints out Cold if he guess is greater than 25% of the answer, print WARM if its between …

Member Avatar for JamesCherrill
1
3K

The End.