UnderAnder / Tic-Tac-Toe-with-AI

training task from hyperskill.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tic-Tac-Toe-with-AI

training task from https://hyperskill.org/projects/82

Examples

Example 1:

Enter your name: > Tim
Hello, Tim
> rock,gun,lightning,devil,dragon,water,air,paper,sponge,wolf,tree,human,snake,scissors,fire
Okay, let's start
> rock
Sorry, but the computer chose air
> !rating
Your rating: 0
> rock
Well done. The computer chose sponge and failed
> !rating
Your rating: 100
> !exit
Bye!

Example 2:

Enter your name: > Tim
Hello, Tim
> 
Okay, let's start
> rock
Well done. The computer chose scissors and failed
> paper
Well done. The computer chose rock and failed
> paper
There is a draw (paper)
> scissors
Sorry, but the computer chose rock
> !exit
Bye!

About

training task from hyperskill.org

License:MIT License


Languages

Language:Python 100.0%