Files
2026-04-12 20:44:08 -07:00

37 lines
488 B
C++

#pragma once
#include <string>
struct Player{
int score = 0;
std::string name;
bool initialInput = false;
int health = 3;
bool gameover = false;
bool won = false;
};
struct Location{
int x;
int y;
};
struct Brick{
Location loc;
int score;
};
struct Paddle{
Location start_loc;
// int lenght; // possible feature, right now considered 10
};
struct Velocity{
int vX;
int vY;
};
struct Ball{
Location loc;
Velocity v;
};