Skip to content

nargiza-web/digital_crafts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PYTHON TIC-TAC-TOE



Solo mini-project on terminal

General description of this app:

wrote a function move that accepts three arguments:

  • boarded a 2-dimensional array that represents a 3x3 tic-tac-toe board
  • located a 2-item tuple that specifies a cell on the board
  • player is a String, either "X" or "Y"
  • Returned a copy of the board with the player String placed at the location.

Throwed an error if:

  • The board is the wrong size
  • The location is already occupied by a player
  • The location is invalid
  • The player String is something other than "X" or "Y"

Features of the app:

  • Purpose of this app: This app is build to play a game on local terminal, with 2 players.

  • How to use: One of the user should download the python file, and run a command on terminal, then just wait for it to be prompted.

  • Features on the app: The app has 3x3 matrix, and prompts on terminal allowing 2 users to play a game

Site Preview: python3 terminal

This app was built by:

Full stack all day immersive bootcamp:

First two folders are Python related and 2nd week folder has tic-tac-toe game completed, 1st week folder has more exercise on Python. At bootcamp everything moves very quickly, it is all about hands-on exercises and projects we do. We complete learning a new programming language with lots of tools and dependencies in one week or at most 2 weeks.

About

Python3 mini project TIC-TAC-TOE

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published