Questions tagged [game]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
75 views

Submiting Final Project

I've started CS50 because I want to become a game developer, so for my final project I wanted to make a simple game. My idea is to do it using Unreal Engine4 or Unity3D, but I don't know if it's ...
0
votes
1answer
45 views

“Game of Fifteen” debug50 works but not actual execution

My init function works in step by step debug mode but it does not when I actually execute the file, why is this? void init(void) { for (int k = 0; k < d; k++) { for (int l = 0; l < d; l++)...
0
votes
1answer
53 views

Segmentation fault in pset3 Game of Fifteen

I'm a little lost. I've been trying to debug this segmentation fault for a few days now and still can't figure out what to do. I narrowed the problem down to a particular line of code thanks to a ...
0
votes
1answer
67 views

Pset3, Game of fifteen, move

I was trying to solve this Pset, and I believe there is something wrong in my move function, the if condition maybe?? I used debug50 and found out that the if loop takes part even when the move is ...
1
vote
2answers
54 views

game of fifteen check50

by checking with check50. I got following error :( 3x3 board, move blank up (tile 3), then try tile 2 \ expected "0" character 5 of line 10, not "2":) 3x3.txt wins the 3x3 board Link: https://...
0
votes
1answer
123 views

pset0 scratch how to pause the game

I made my game on scratch but I'm having a few problems. One of them if that I couldn't make work the pause/play by pressing P. Also, I think the ball is not bouncing as it should when hitting the ...
0
votes
2answers
37 views

draw() function not working, it gives no output

this is my code [spoiler code hidden behind edit flag] my code is not giving any output.I don't understand where i have gone wrong, so please can you help me.
0
votes
1answer
800 views

Game of Fifteen - Move function issue

I'm a beginner so please bear with me. For the game of fifteen I have successfully implemented the Draw function but I'm not having the same luck with Move. It is very erratic, sometimes the tiles ...
1
vote
0answers
237 views

game of fifteen check50 error [closed]

The program seems to run fine but when I execute check50 I get this message: :) fifteen.c exists :) fifteen.c compiles :( init initializes 3x3 board correctly \ expected file to be of length 18, ...
0
votes
1answer
115 views

Bug in game of scratch

I have a running project https://scratch.mit.edu/projects/71129428/ the problem is the fish in it stuck sometime and scores keep increase. I was thinking of an idea that i may need to apply id to ...