Skip to content

About

Exercises and projects from Cisco Networking Academy's Python Essentials 1 & 2 courses, including a console Tic-Tac-Toe game against the computer.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🐍 Cisco Networking Academy · Python

Exercises and projects from the Python Essentials courses by Cisco Networking Academy.

Python Cisco Status


Contents

Course Project Description
Python Essentials 1 Tic-Tac-Toe Console tic-tac-toe against the computer: the final project of the course.
Python Essentials 2 Module exploration Practice scripts for working with modules (math).

Python Essentials 1: Tic-Tac-Toe

A console game where you play O against the computer (X). The computer opens in the center and then picks random free squares.

+-------+-------+-------+
|       |       |       |
|   O   |   2   |   3   |
|       |       |       |
+-------+-------+-------+
|       |       |       |
|   4   |   X   |   6   |
|       |       |       |
+-------+-------+-------+
|       |       |       |
|   7   |   8   |   9   |
|       |       |       |
+-------+-------+-------+

There are two versions:

File What it offers
tictactoe.py The base solution, written to the course specification.
tictactoePro.py An improved version with ANSI colors, turn headers and a notice of the computer's move. Colors can be turned off with USE_COLORS = False.

📄 The full problem statement and the technical requirements are in the project README.


Python Essentials 2

File What it does
tester.py Lists everything the math module exposes, using dir().

How to run

The only requirement is Python 3. No external libraries are needed.

git clone https://github.com/VictoriaRodriguezDenis/CISCO-Academy-Python.git
cd CISCO-Academy-Python

# Tic-Tac-Toe
python "Python Essentials 1/tictactoe.py"
python "Python Essentials 1/tictactoePro.py"

# Python Essentials 2
python "Python Essentials 2/tester.py"

⚠️If the colors in tictactoePro.py show up as strange characters, your console doesn't support ANSI codes. Set USE_COLORS = False at the top of the file.


Repository structure

CISCO-Academy-Python/
├── Python Essentials 1/
│   ├── README.md
│   ├── tictactoe.py
│   └── tictactoePro.py
├── Python Essentials 2/
│   └── tester.py
└── README.md

Made by Victoria Rodríguez Denis while studying with Cisco Networking Academy.

About

Exercises and projects from Cisco Networking Academy's Python Essentials 1 & 2 courses, including a console Tic-Tac-Toe game against the computer.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages