Initial commit

This commit is contained in:
2023-05-06 18:33:58 +02:00
commit c9500a5548
18 changed files with 790 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#pragma once
#include <string>
#include "Board.h"
#include "Snake.h"
class Game {
public:
Game(int width, int height, int fps, std::string title);
Game(const Game& other) = delete;
Game& operator=(const Game& other) = delete;
~Game() noexcept;
bool GameShouldClose() const;
void Tick();
private:
void Update();
void Draw();
Board board;
Snake snake;
};