Skip to content

Commit

Permalink
now computer starts the game
Browse files Browse the repository at this point in the history
  • Loading branch information
morsisko committed Oct 10, 2019
1 parent e6f09da commit 00421e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ int main()
rightLine.setSize(sf::Vector2f(THICKNESS, (WIDTH_HEIGHT - THICKNESS) * sqrt(2)));
rightLine.setRotation(45);

sf::Font font;
sf::Font font;
font.loadFromFile("arial.ttf");

endGameText.setCharacterSize(50);
Expand All @@ -123,7 +123,8 @@ int main()
endGameText.setOutlineThickness(10);
endGameText.setOutlineColor(sf::Color::Black);

//startMove(gameState);
//If you want to start (instead of the computer) comment the line below.
startMove(gameState);


while (window.isOpen())
Expand Down

0 comments on commit 00421e5

Please sign in to comment.