diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d4a7f3a --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +squared: + g++ squared.cpp -lsfml-window -lsfml-system -lsfml-graphics -o squared +skins: + g++ skins.cpp -lsfml-window -lsfml-system -lsfml-graphics -o skins diff --git a/skins.cpp b/skins.cpp index 31e3bb1..6280831 100644 --- a/skins.cpp +++ b/skins.cpp @@ -173,7 +173,7 @@ void printBoard(RenderWindow* win, vector>* board, int width, int he if((*board)[i][j] % 7 == 0) { rectangle->setFillColor(Color::Red); } else if ((*board)[i][j]% 7 % 6 == 0) { - rectangle->setFillColor(Color::Orange); + rectangle->setFillColor(Color(255, 165, 0, 255)); } else if ((*board)[i][j] % 7 % 5 == 0) { rectangle->setFillColor(Color::Yellow); } else if ((*board)[i][j] % 7 % 4 == 0) {