Flask app (python, jinja, HTML, CSS) for mastermind game
Budget: €12 – €18 EUR
I need to deploy a mastermind game in Flask.
The full code is already made by me and it is functional in Python.
Specifically, the program gets the user's input for length of code and number of colours, create the Mastercode, accepts the guess, checks the guess and continue until the guess is the Mastercode. There is also a hint option which if selected by the user, the program will return the best next guess applying the minimax algorithm.
All of the above work perfectly fine when running the program in the console.
I have created so far the app in Flask framework (I use the pythonanywhere service), I have created the basic routes (/play to get the user's choices for the game and /playMastermind to play the game).
I need help for HTML and CSS settings, as well as jinja template language to deploy the game.
I would like to avoid using Javascript unless it is necessary.
Further specifications to be provided.
I attach an example of how the app could look like.
The full code is already made by me and it is functional in Python.
Specifically, the program gets the user's input for length of code and number of colours, create the Mastercode, accepts the guess, checks the guess and continue until the guess is the Mastercode. There is also a hint option which if selected by the user, the program will return the best next guess applying the minimax algorithm.
All of the above work perfectly fine when running the program in the console.
I have created so far the app in Flask framework (I use the pythonanywhere service), I have created the basic routes (/play to get the user's choices for the game and /playMastermind to play the game).
I need help for HTML and CSS settings, as well as jinja template language to deploy the game.
I would like to avoid using Javascript unless it is necessary.
Further specifications to be provided.
I attach an example of how the app could look like.