Questions tagged [game]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
37 views

Pong Submission

I want to submit Pong from my PC since I have the code in VS, but I'm not sure how. I typed pip3 install submit50 in my cmd window, and got this: pip3 install submit50 Collecting submit50 ...
0
votes
1answer
93 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
50 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
57 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
103 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
55 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
253 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
40 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
802 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
132 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 ...