Skip to content

rajat-sharma-official/CS333

Repository files navigation

UNO Game

A modular, object-oriented implementation of the UNO card game built in Python as part of CS333 – Testing & DevOps coursework.
This project demonstrates structured design, automated testing, and continuous integration principles.

This command-line version of UNO models the core mechanics of the game — drawing, playing, and matching cards by color or value — along with special actions such as Skip, Reverse, Draw Two, Wild, and Wild Draw Four.

The codebase emphasizes:

  • Clear class design for each game component
  • Test coverage using pytest and coverage
  • Automation aligned with DevOps best practices

Technical Summary

Developed using object-oriented design principles with separate modules for cards, deck management, players, and game logic.
Includes automated testing through pytest and coverage reporting to ensure functional reliability and maintainability.


Running the Game

python main.py

Example Gameplay

Gameplay Example
Figure 1: Sample UNO gameplay in the terminal.


Coverage Report

Coverage Report
Figure 2: Test coverage report generated using pytest-coverage.


Developed by Rajat Sharma for CS333 – Testing & DevOps, University of Nevada, Reno.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages