Skip to content
ย 
ย 

Latest commit

ย 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 

Repository files navigation

Python-Mini-Game-Collection

๐ŸŽฎ Mini Game Collection

๐Ÿ“Œ Project Goal Students will design and implement three simple console-based games in Python. The goal is to apply programming fundamentals such as loops, conditionals, functions in a fun way, as well as git and github flow knowledge and collaborative techniques to program in teams.

๐ŸŽฏ Learning Objectives By completing this project, students will:

Gain experience in structuring small Python programs.

Learn how to use randomness, loops, and user input.

Practice writing functions to organize code.

Improve debugging and testing skills.

Build confidence by finishing playable games.

Practice coding in teams.

Improve git and github flow use.

๐Ÿ—“๏ธ Weekly Breakdown Day 1โ€“2: Game 1 โ€” Number Guessing Game ๐ŸŽฒ Computer randomly picks a number between 1 and 100.

Player guesses until correct.

Program gives hints (โ€œToo high!โ€ / โ€œToo low!โ€).

๐Ÿ‘‰ Concepts practiced:

Random numbers (random.randint)

Loops (while)

Conditionals (if/else)

Day 1โ€“2: Game 2 โ€” Rock, Paper, Scissors โœŠโœ‹โœŒ๏ธ Player chooses rock/paper/scissors.

Computer randomly picks one.

Winner is decided and displayed.

๐Ÿ‘‰ Concepts practiced:

Lists and choices

Randomness

Nested conditionals

Simple scoring system (optional)

Day 3โ€“5: Game 3 โ€” Tic-Tac-Toe โŒโญ• Two players take turns (can start with 2-player mode).

3x3 board displayed in console.

Game checks for winner or draw.

๐Ÿ‘‰ Concepts practiced:

Lists (to store board state)

Functions (to check win/draw conditions)

Loops for turns

Printing a grid

Day 4โ€“5: Menu System Menu options displayed in console.

Player chooses an option.

If a game is choosen run the game.

If exit is choosen, exit game If incorrect option is choosen send error message and ask again

๐Ÿ‘‰ Concepts practiced:

Lists (to store option messages)

Functions (to run de menu)

Loops for prompting the user's choice

Printing the options

๐Ÿ—„๏ธ Data Structures to Use Number Guessing: integers only.

Rock, Paper, Scissors: lists (["rock", "paper", "scissors"]).

Tic-Tac-Toe: 2D list or 1D list of 9 cells.

๐Ÿ“‹ Menu System At the end of the week, students can put all games into one program with a menu:

===== Python Mini Games =====

  1. Play Number Guessing
  2. Play Rock, Paper, Scissors
  3. Play Tic-Tac-Toe
  4. Exit

โœ… By the end of the week, students will have a playable game collection in Python, and theyโ€™ll see how small programs can add up to something bigger.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages