Signup and get access to similar projects
Every week, we pick a real-life project to build your portfolio and get ready for a job. All projects are built with ChatGPT as co-pilot!
Start the ChallengeA tech-culture podcast where you learn to fight the enemies that blocks your way to become a successful professional in tech.
Listen the podcastYou will practice:
Fill the content of the methods play, check_for_winner, new_game and the commands inside the while needed to make the TicTacToe behave like this picture.
1def play(position): 2def check_for_winner(): 3def new_game():
X and O.X always starts playing.play <position> for example: play 1 will play for the current player on the position 1 in the list (the second one)X makes a play, it's O's turn (automatically) and vice-versa.Do not clone this repository.
a) If using Gitpod you can clone the boilerplate by clicking here.
b) If working locally type the following command from your command line: git clone https://github.com/4GeeksAcademy/flask-rest-hello.
💡 Important: Remember to create a new repository, update the remote (git remote set-url origin <your new url>), and upload the code to your new repository using add, commit and push.
1$ python3 app.py
Signup and get access to similar projects
Every week, we pick a real-life project to build your portfolio and get ready for a job. All projects are built with ChatGPT as co-pilot!
Start the ChallengeA tech-culture podcast where you learn to fight the enemies that blocks your way to become a successful professional in tech.
Listen the podcast