Code Monkey home page Code Monkey logo

uno_game_python's Introduction

Uno_Game_Python

Python project for 01286121 Computer Programming KMITL Software Engineering Program, Year 1, Semester 1

More details, pdf file

Table of Contents

Introduction

This is a small GUI-based game where user can interact with cards to find out the card that the program will randomly choose. This can be used when people want to choose which person to do something. This is similar to a lottery game or rock-paper-scissor game that decides which person goes first or goes last.

Features

This is the first loading page when the game is started First loading page

In this menu, there are two options, i.e., “New Game” with a sub-menu which lets you choose 10 cards or 20 cards to play with, and “Close“ that allows to exit the program

Alt text

In this Players menu, there are two modes, “Single player with AI”, a default mode in which you can play with an AI and “Multiplayer”, in which you can play alone or with others. Users can choose any mode anytime, during the game or before starting the game.

Alt text

This “Background Color” will allow you to change the whole window into any type of color, based on your choice.

Alt text

The window will change its color based on the color you picked in the color picker pop-up window Alt text

You can see a short introduction about how to play and my personal information in this menu

Alt text

Alt text

Playing the game

I chose a new game with 10 cards and set the background color to brown

By default, it is a single player with AI mode, so whenever you clicked a card, an AI will automatically choose next card. Alt text

I was lucky this time. The first one is the card the program has chosen, and I clicked it so, it pops out a message box to let me know that I won the game and when I clicked ok, Alt text

It will ask me to start a new game or close the program. If I clicked OK again, Alt text It will get back to its original state. This time, I chose to play with my friends or alone. If I play with my friends in real time, we are going to play in turn and wait for someone to pick the right card. Alt text

Alt text

Who wins? Alt text

After a while playing the game, if someone chooses the right card, it will show as the same as before. And the program will ask you to create a new game or not Alt text

uno_game_python's People

Contributors

smh1111 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.