- This for review python sytax and practice
- The computer will think of 3 digit number that has no repeating digits.
- You will then guess a 3 digit number.
- The computer will then give back clues.
- Based on these clues you will guess again until you break the code with a match!
- Close: You've guessed a correct number but in the wrong position.
- Match: You've guessed a correct number in the correct position.
- Nope: You haven't guess any of the numbers correctly.
- Python is an object oriented programming language.
- Almost everything in Python is an object, with its properties and methods.
- A Class is like an object constructor, or a "blueprint" for creating objects.
- For this project will use OOP to crate a card game.
- Card game 'War' for two player, here are basic rules:
Even if there has an exception, will not broken code
Here is a very useful link to build regex: Buil Regex
##Django(version 2.0.5)
- Create Project: django-admin startproject first_project
- run local server: python manage.py runserver
- Create App: python manage.py startapp first_app
- Inside first_project > setting.py file > INSATLLED_APPS=['first_app']