Questions tagged [breakout]

For questions about reimplementing Breakout video game: https://en.wikipedia.org/wiki/Breakout_(video_game). Do not use this tag for questions like "How to break out of a loop/function?", consider using "control-flow" and/or "break" tags instead.

140 questions
0
votes
0 answers

How can I run a pretrained model for atari breakout?

Hi I'm comparing how effective learning models are at the atari game, 'Breakout', provided by openai gym. However, I want to run models over a period of a few days, which I don't have the luxury of doing right now. I did this with a NEAT model…
0
votes
1 answer

Trying to add a background image to breakout game

I am trying to add a background image and my teacher was trying to explain what to do but it still wouldn't work.
0
votes
0 answers

Pine Script V5 - Not getting expected breakout entry price and entry in expected bar

I have a long entry buy condition where Candle time frame is 15 minutes Alert candle high is below lower band of bollinger bands. entry when next candle crossover the alert candle high This script gives entry oh high breakout + 0.01 but it does…
0
votes
1 answer

Ball sprite won't bounce off rectangles. Need to know how to make rectangles disappear

I have a ball sprite that is generated via generateSprite(); and also a platform sprite that is generated the same way. I need to make the ball bounce off the platform. This is a breakout style game so I have rectangles that are NOT sprites that the…
Reed
  • 21
  • 1
0
votes
0 answers

Accessing other classes inside a class Javascript

I am trying to make a simple breakout game with p5js. I got the balls to work fine, but when I try to make them interact with the brick class, I run into some problems. I can't seem to figure ourI don't have a ton of experience with classes in…
0
votes
0 answers

Breakout brick and paddle collision in Java

I'm working on a Breakout game, and I'm having a brick collision problem. The ball bounces off the wall, oar and brick. However, when the ball touches the oar, the oar disappears, although I seem to have prescribed that the ball in this case should…
0
votes
0 answers

breakout game in Android studio

Hey I'm trying to create a breakout game using Android studio, but I get an error... Problem I have successfully created a bricks map on the game screen however, when I perform the ball.collision check, the program crashes... What I tried I created…
zygisk123
  • 9
  • 3
0
votes
1 answer

Breakout game Java - paddle going off right side of screen

i've got an issue with my breakout game in java. Everything works well other than my paddle going off the screen on the right side, my ball does this too, but not worried about that right now. // prevent paddle from moving outside of the…
LJay
  • 11
  • 1
0
votes
1 answer

BreakOut Detection Python/R Pkg Installation on Mac

I have been trying to install the BreakOut Detetction pkg (by Roland Hochmuth) in a MacOS Mojave environment. Following is the pkg I am talking about, https://github.com/roland-hochmuth/BreakoutDetection I was able to get swig on my machine by using…
Roy Liao
  • 1
  • 1
0
votes
1 answer

R Plotly Stacked Bar breakout date not in correct order

I have an R plotly stacked bar chart where it's broken out by date. I am trying to change the order from the oldest date 10/1/2020 to the newest date 01/01/2021 on top. I noticed in the current state that it's not even in the correct order of…
newbie_146
  • 127
  • 1
  • 9
0
votes
2 answers

Stanford cs106a - Breakout exersize

I'm trying to learn java by following the cs106a course online. Currently I've arrived at the breakout exersize and I'm having some trouble with bugs I haven't finished it completely but I want to solves these issues first before I go…
Ramin
  • 11
  • 1
  • 2
0
votes
0 answers

How to create a layout of bricks for Breakout game using a data/text file in C++ SFML?

I am creating a classic breakout game in C++ using SFML library. So far I have a movable paddle and ball implemented. Currently, my goal is to create a layout of bricks. So far I have it so that a single brick is displayed. However, I want to make…
AaySquare
  • 123
  • 10
0
votes
1 answer

Java smooth movement with KeyEvents in breakout

I'm currently learning Java through Stanford's Programming Methodology (2008) course. I'm trying to create the game Breakout and am trying to currently animate the paddle, which is a GRect type object. Here's my code: // moves paddle via…
Ebrin
  • 179
  • 8
0
votes
1 answer

pine script - custom session breakout issue

//@version=4 study("custom Session breakout", overlay=true) my_session = input("1145-1215", type=input.session, title='Custom Session') // Determine if we are in a session // ---------------------------------- in_session = time(timeframe.period,…
0
votes
0 answers

TypeError: a bytes-like object is required, not 'tuple' deepQlearning

so I am trying to run the a deep q learning code from the book: Python Deep Learning: Exploring deep learning techniques, neural network architectures and GANs with PyTorch, Keras and TensorFlow. When I copy pasted the code, it was out of format so…
DailyReader
  • 43
  • 1
  • 8